From bd614ac21d2754d778a796cd5e92d1568ec8baec Mon Sep 17 00:00:00 2001 From: root Date: Wed, 23 May 2012 00:02:37 +0000 Subject: Wed May 23 00:02:37 UTC 2012 --- testing/ldns/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/ldns/PKGBUILD (limited to 'testing/ldns') diff --git a/testing/ldns/PKGBUILD b/testing/ldns/PKGBUILD new file mode 100644 index 000000000..18573ced5 --- /dev/null +++ b/testing/ldns/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 159317 2012-05-21 14:35:28Z bisson $ +# Maintainer: Gaetan Bisson +# Contributor: mathieui +# Contributor: jiribb + +pkgname=ldns +pkgver=1.6.13 +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=('859f633d10b763f06b602e2113828cbbd964c7eb') + +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" +} -- cgit v1.2.3-54-g00ecf