MegaHAL package added :-)
[mirrors/ArchLinux-Packages.git] / ldns / PKGBUILD
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
5
6 pkgname=(ldns-lib ldns-tools ldns-drill)
7 _pkgname=ldns
8 pkgver=1.6.5
9 pkgrel=1
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/"
13 license=('GPL')
14 groups=(network)
15 depends=("openssl" "glibc")
16 #options=(!libtool)
17 source=(http://www.nlnetlabs.nl/downloads/$_pkgname/$_pkgname-$pkgver.tar.gz)
18 md5sums=('ab41a641a0416908e03e63631f527c4a')
19
20 _configflags='
21 --prefix=/usr
22 --sysconfdir=/etc
23 --localstatedir=/var
24 --enable-sha2 --disable-rpath';
25
26 build() {
27 echo Will pass following flags to ./configure commands:
28 echo $_configflags;
29 return 0
30 }
31
32 package_ldns-lib() {
33 pkgdesc="libldns DNSSEC enabled DNS library"
34 conflicts=(ldns)
35 replaces=(ldns)
36 provides=(ldns)
37 cd "${srcdir}/$_pkgname-$pkgver"
38
39 ./configure $_configflags
40 make || return 1
41 make DESTDIR="$pkgdir/" install
42 }
43
44 package_ldns-tools() {
45 pkgdesc="Some DNSSEC utilities using libldns"
46 depends=(ldns-lib)
47 cd "${srcdir}/$_pkgname-$pkgver/examples"
48
49 ./configure $_configflags
50 make || return 1
51 make DESTDIR="$pkgdir/" install
52 }
53
54 package_ldns-drill() {
55 pkgdesc="Drill DNSSEC utility from LDNS package (ala enabled Bind's dig)"
56 depends=(ldns-lib)
57 cd "${srcdir}/$_pkgname-$pkgver/drill"
58
59 ./configure $_configflags
60 make || return 1
61 make DESTDIR="$pkgdir/" install
62 }
This page took 0.24926 seconds and 4 git commands to generate.