diff options
author | root <root@rshg054.dnsready.net> | 2012-10-24 01:50:39 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-24 01:50:39 -0700 |
commit | 120df4e0db159525806a9b33364483e76f9d51d3 (patch) | |
tree | b78de64b601a46cc403d8663201bad6feb41c791 /testing/ldns | |
parent | 3c19af9355ba86a5b99d6e5a57ecaa68a7ea6e8e (diff) |
Wed Oct 24 01:47:51 PDT 2012
Diffstat (limited to 'testing/ldns')
-rw-r--r-- | testing/ldns/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/ldns/PKGBUILD b/testing/ldns/PKGBUILD new file mode 100644 index 000000000..4613191f4 --- /dev/null +++ b/testing/ldns/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 169587 2012-10-23 22:55:24Z bisson $ +# Maintainer: Gaetan Bisson <bisson@archlinux.org> +# Contributor: mathieui <mathieui@mathieui.net> +# Contributor: jiribb <jiribb@gmail.com> + +pkgname=ldns +pkgver=1.6.14 +pkgrel=1 +pkgdesc='Fast DNS library supporting recent RFCs' +url='http://www.nlnetlabs.nl/projects/ldns/' +license=('custom:BSD') +arch=('i686' 'x86_64') +options=('!libtool') +depends=('openssl' 'dnssec-anchors') +optdepends=('libpcap: ldns-dpa tool') +makedepends=('libpcap') +source=("http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz") +sha1sums=('2ef5fbf33b25d2f7b736c332ebccc0862dd12d02') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-static=no \ + --disable-rpath \ + --with-drill \ + --with-examples \ + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |