1 # Contributor: Thomas Mudrunka <harvie@@email..cz> & jiribb <jiribb@gmail.com> & <mathieui> <mathieui@mathieui.net> & sega01
2 # Maintainer: Thomas Mudrunka <harvie@@email..cz>
3 # You can also contact me on http://blog.harvie.cz/
4 # Patches welcome: http://github.com/harvie/archlinux-packages
6 pkgname=(ldns-lib ldns-tools ldns-drill)
10 pkgdesc="libldns DNSSEC enabled DNS library with Drill util (ala enabled Bind's dig)"
11 arch=('i686' 'x86_64')
12 url="http://www.nlnetlabs.nl/projects/ldns/"
15 depends=("openssl" "glibc")
17 source=(http://www.nlnetlabs.nl/downloads/$_pkgname/$_pkgname-$pkgver.tar.gz)
18 md5sums=('ab41a641a0416908e03e63631f527c4a')
24 --enable-sha2 --disable-rpath';
27 echo Will pass following flags to ./configure commands:
33 pkgdesc="libldns DNSSEC enabled DNS library"
37 cd "${srcdir}/$_pkgname-$pkgver"
39 ./configure $_configflags
41 make DESTDIR="$pkgdir/" install
44 package_ldns-tools() {
45 pkgdesc="Some DNSSEC utilities using libldns"
47 cd "${srcdir}/$_pkgname-$pkgver/examples"
49 ./configure $_configflags
51 make DESTDIR="$pkgdir/" install
54 package_ldns-drill() {
55 pkgdesc="Drill DNSSEC utility from LDNS package (ala enabled Bind's dig)"
57 cd "${srcdir}/$_pkgname-$pkgver/drill"
59 ./configure $_configflags
61 make DESTDIR="$pkgdir/" install