void-packages/srcpkgs/ldns/template

38 lines
1.1 KiB
Plaintext
Raw Normal View History

2014-11-22 15:47:11 +01:00
# Template file for 'ldns'
pkgname=ldns
version=1.6.17
revision=3
2014-11-22 15:47:11 +01:00
build_style=gnu-configure
configure_args="--with-drill --with-examples
2014-11-22 15:57:02 +01:00
--with-trust-anchor=/etc/dns/root.key
--with-ssl=${XBPS_CROSS_BASE}/usr"
2014-11-22 15:47:11 +01:00
hostmakedepends="perl"
makedepends="libpcap-devel libressl-devel>=2.1.3 dnssec-anchors"
2014-11-22 15:47:11 +01:00
short_desc="Modern DNS/DNSSEC library -- utils"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://www.nlnetlabs.nl/projects/ldns/"
distfiles="http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=8b88e059452118e8949a2752a55ce59bc71fa5bc414103e17f5b6b06f9bcc8cd
libldns_package() {
depends="dnssec-anchors"
short_desc="Modern DNS/DNSSEC library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libldns-devel_package() {
depends="libldns>=${version}_${revision}"
short_desc="Modern DNS/DNSSEC library -- development files"
pkg_install() {
vmove usr/bin/ldns-config
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/man/man1/ldns-config.1
vmove usr/share/man/man3
}
}