void-packages/srcpkgs/c-ares/template
2013-05-27 20:49:39 +02:00

27 lines
638 B
Text

# 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 <xtraeme@gmail.com>"
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
}
}