diff --git a/common/shlibs b/common/shlibs index 6c63b078a0b..5afdf972b5e 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1260,3 +1260,4 @@ libzzip-0.so.13 zziplib-0.13.62_1 libdb-5.3.so libdb-5.3.21_1 libdb_cxx-5.3.so libdb-cxx-5.3.21_1 libsdb.so.0 sdb-0.6.2_1 +libcares.so.2 c-ares-1.10.0_1 diff --git a/srcpkgs/c-ares-devel b/srcpkgs/c-ares-devel new file mode 120000 index 00000000000..80dbece4209 --- /dev/null +++ b/srcpkgs/c-ares-devel @@ -0,0 +1 @@ +c-ares \ No newline at end of file diff --git a/srcpkgs/c-ares/template b/srcpkgs/c-ares/template new file mode 100644 index 00000000000..e81fd888b31 --- /dev/null +++ b/srcpkgs/c-ares/template @@ -0,0 +1,27 @@ +# Template file for 'c-ares' +pkgname=c-ares +version=1.10.0 +revision=1 +build_style=gnu-configure +short_desc="C library that performs DNS requests and name resolves asynchronously" +maintainer="Juan RP " +license="MIT" +homepage="http://c-ares.haxx.se/" +distfiles="http://c-ares.haxx.se/download/$pkgname-$version.tar.gz" +checksum=3d701674615d1158e56a59aaede7891f2dde3da0f46a6d3c684e0ae70f52d3db + +c-ares-devel_package() { + depends="${sourcepkg}>=${version}" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + vmove usr/share/man + } +} + +c-ares_package() { + pkg_install() { + vmove usr + } +}