46 lines
1.3 KiB
Bash
46 lines
1.3 KiB
Bash
# Template file for 'ldns'
|
|
pkgname=ldns
|
|
version=1.8.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-drill --with-examples --disable-dane-ta-usage
|
|
--with-trust-anchor=/etc/dns/root.key
|
|
--with-ssl=${XBPS_CROSS_BASE}/usr"
|
|
hostmakedepends="perl"
|
|
makedepends="libpcap-devel openssl-devel dnssec-anchors"
|
|
short_desc="Modern DNS/DNSSEC library -- utils"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="http://www.nlnetlabs.nl/projects/ldns/"
|
|
distfiles="http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=838b907594baaff1cd767e95466a7745998ae64bc74be038dccc62e2de2e4247
|
|
|
|
if [ "$XBPS_TARGET_MACHINE" = i686 ]; then
|
|
broken="https://build.voidlinux.org/builders/i686_builder/builds/48522/steps/shell_3/logs/stdio"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
libldns_package() {
|
|
depends="dnssec-anchors"
|
|
short_desc="Modern DNS/DNSSEC library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
libldns-devel_package() {
|
|
depends="libldns>=${version}_${revision} openssl-devel"
|
|
short_desc="Modern DNS/DNSSEC library -- development files"
|
|
pkg_install() {
|
|
vmove usr/bin/ldns-config
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/man/man1/ldns-config.1
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|