summaryrefslogtreecommitdiff
path: root/community/ldns
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/ldns
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/ldns')
-rw-r--r--community/ldns/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/ldns/PKGBUILD b/community/ldns/PKGBUILD
new file mode 100644
index 000000000..9ba6f1cf4
--- /dev/null
+++ b/community/ldns/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: jiribb <jiribb@gmail.com> and <mathieui> <mathieui@mathieui.net>
+# Contributor: mathieui <mathieui@mathieui.net>
+
+pkgname=ldns
+pkgver=1.6.9
+pkgrel=1
+pkgdesc='Fast DNS library with DNSSEC support, including tools such as Drill'
+arch=('i686' 'x86_64')
+url='http://www.nlnetlabs.nl/projects/ldns/'
+license=('custom:BSD')
+depends=('openssl')
+makedepends=('libpcap')
+optdepends=('libpcap: ldns-dpa tool')
+options=('!libtool')
+source=("http://www.nlnetlabs.nl/downloads/$pkgname/$pkgname-$pkgver.tar.gz")
+sha1sums=('30d136792433bef44454dc1c70bf55449160c3ad')
+
+build() {
+ _conf='--prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-static=no --disable-rpath'
+
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure $_conf
+ make
+ make DESTDIR="$pkgdir" install
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ cd drill
+ ./configure $_conf --with-ldns="$pkgdir"
+ make
+ make DESTDIR="$pkgdir" install
+
+ cd ../examples
+ ./configure $_conf --with-ldns="$pkgdir"
+ make
+ make DESTDIR="$pkgdir" install
+}