--- ../../../arch/network/dhclient/PKGBUILD 2006-06-29 08:23:50.000000000 +0100 +++ PKGBUILD 2007-04-08 21:41:14.000000000 +0100 @@ -2,27 +2,37 @@ # Maintainer: Arjan Timmerman # Contributor: Mirko Messer pkgname=dhclient -pkgver=3.0.4 +pkgver=3.0.5 pkgrel=1 pkgdesc="dhclient is standalone client from the dhcp package" url="http://www.isc.org/index.pl?/sw/dhcp/" -license="" +license=('custom') +arch=('i686') depends=('bash') backup=('etc/dhclient.conf') +options=('emptydirs') source=(ftp://ftp.isc.org/isc/dhcp/dhcp-$pkgver.tar.gz \ arch-nm.patch dhclient.conf) -md5sums=('004ef935fd54b8046b16bdde31a9e151' '68e968789f577e12fa596500c9ae8fc9'\ - '5df0aba50e2705bd23ac1b1998be5cd2') +md5sums=('ce5d30d4645e4eab1f54561b487d1ec7' + '68e968789f577e12fa596500c9ae8fc9' + '5df0aba50e2705bd23ac1b1998be5cd2') build() { - cd $startdir/src/dhcp-$pkgver - patch -p1 -i ../arch-nm.patch - ./configure - cd work*/minires && make - cd ../omapip && make - cd ../dst && make - cd ../common && make - cd ../client - make DESTDIR=$startdir/pkg install - cp $startdir/src/dhclient.conf $startdir/pkg/etc/dhclient.conf + cd "$startdir"/src/dhcp-$pkgver + patch -p1 -i ../arch-nm.patch || return 1 + + ./configure + cd work.$(./configure --print-sysname) + make -C common + make -C minires + make -C dst + make -C omapip + make -C client + make -C client \ + LIBDIR=/usr/lib INCDIR=/usr/include \ + DESTDIR="$startdir"/pkg install + + cd "$startdir"/pkg + mkdir -pv var/lib/dhclient + cp -v "$startdir"/src/dhclient.conf etc/dhclient.conf }