updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / hesiod / PKGBUILD
blob28a0bc85c89fd21ab76469f569e1f0d0660499d1
1 # Maintainer: Steven Allen <steven {a} stebalien {o} com>
2 # Contributor: Lee Burton <lburton@mrow.org>
4 pkgname=hesiod
5 groups=(athena)
6 pkgver=3.1.0
7 pkgrel=1
8 pkgdesc="Hesiod Name Service Support"
9 url="ftp://athena-dist.mit.edu/pub/ATHENA/hesiod"
10 arch=(i686 x86_64)
11 license="MIT"
12 depends=('glibc')
13 source=("ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/$pkgname-$pkgver.tar.gz"
14 'http://cvs.savannah.gnu.org/viewvc/*checkout*/config/config/config.sub'
15 'http://cvs.savannah.gnu.org/viewvc/*checkout*/config/config/config.guess'
16 'resolv_lib.patch')
17 md5sums=('89c785d350e75d6628754659ee4583e8'
18          'badd56af78d80c8a8492b391f6eba3b6'
19          '19636c52c484cd2a755b9f2ac658257d'
20          'aca351b880c5c09bb703148fd78ed98e')
22 build() {
23   cd $srcdir/$pkgname-$pkgver
24   cp $srcdir/config.sub $srcdir/config.guess .
25   patch -i $srcdir/resolv_lib.patch
26   ./configure --prefix=/usr --sysconfdir=/etc
27   make
28   make DESTDIR=${pkgdir} install