# Contributor: Carlo Landmeter # Maintainer: Natanael Copa pkgname=ldns pkgver=1.7.0 pkgrel=0 pkgdesc="Lowlevel DNS(SEC) library" url="http://nlnetlabs.nl/projects/ldns/" arch="all" license="Custom" depends= depends_dev="libressl-dev" makedepends="$depends_dev libpcap-dev" install="" subpackages="$pkgname-dev $pkgname-doc drill $pkgname-tools" source="http://nlnetlabs.nl/downloads/ldns/ldns-$pkgver.tar.gz " builddir="$srcdir"/ldns-$pkgver build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --with-drill \ --with-examples \ --disable-dane-verify make } package() { cd "$builddir" make DESTDIR="$pkgdir" install mkdir -p "$pkgdir"/usr/lib/pkgconfig cat > "$pkgdir"/usr/lib/pkgconfig/libldns.pc<