# -*- coding: ascii; tab-width: 4 -*- Info4: << Package: libcares2 Version: 1.22.1 Revision: 1 Description: Asynch DNS resolver library DescDetail: << c-ares is a C library that performs DNS requests and name resolves asynchronously. c-ares is a fork of the original library named 'ares', written by Greg Hudson at MIT. In all practical means, it is the successor of ares. << Maintainer: Daniel Johnson Homepage: http://c-ares.haxx.se/ Source: http://c-ares.haxx.se/download/c-ares-%v.tar.gz Source-Checksum: SHA256(f67c180deb799c670d9dda995a18ce06f6c7320b6c6363ff8fa85b77d0da9db8) PatchScript: << # https://github.com/c-ares/c-ares/issues/454 perl -pi -e 's/TargetConditionals/AvailabilityMacros/' configure << NoSetCPPFLAGS: true NoSetLDFLAGS: true SetCFLAGS: -Os Depends: %N-shlibs (= %v-%r) BuildDependsOnly: true ConfigureParams: << --disable-static \ --enable-shared \ --disable-silent-rules \ --disable-dependency-tracking \ --enable-symbol-hiding << InfoTest: << TestScript: << #!/bin/sh -ev # Need to disable tests that make requests from network DNS # server. NB: This pattern might be overly broad. # https://github.com/c-ares/c-ares/issues/455 export GTEST_FILTER="-*.Live*" make check || exit 2 << << InstallScript: << make install DESTDIR=%d << DocFiles: AUTHORS CHANGES NEWS README.md README.cares RELEASE-NOTES LICENSE.md License: BSD SplitOff: << Package: %N-shlibs Files: lib/libcares.2.*dylib Shlibs: %p/lib/libcares.2.dylib 11.0.0 %n (>= 1.22.1-1) DocFiles: AUTHORS CHANGES NEWS README.md README.cares RELEASE-NOTES LICENSE.md << <<