summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/dhcpcd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/dhcpcd/PKGBUILD')
-rw-r--r--abs/core-testing/dhcpcd/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/core-testing/dhcpcd/PKGBUILD b/abs/core-testing/dhcpcd/PKGBUILD
new file mode 100644
index 0000000..dfc1914
--- /dev/null
+++ b/abs/core-testing/dhcpcd/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: judd <jvinet@zeroflux.org>
+pkgname=dhcpcd
+pkgver=3.2.1
+pkgrel=10
+pkgdesc="A DHCP client daemon"
+arch=(i686 x86_64)
+license=('BSD')
+url="http://roy.marples.name/dhcpcd"
+groups=('base')
+depends=('glibc')
+backup=('etc/conf.d/dhcpcd')
+source=(http://roy.marples.name/dhcpcd/$pkgname-$pkgver.tar.bz2
+ dhcpcd.conf.d)
+md5sums=('5a437882b6b9eb29bde323dc411be4a4'
+ '12d866a78d9f5fa5f31ca18b3940d847')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ #disable DUID usage
+ echo "#undef ENABLE_DUID" >> config.h
+ make || return 1
+ make DESTDIR=$startdir/pkg install
+ mkdir -p $startdir/pkg/usr/sbin
+ ln -sf /sbin/dhcpcd $startdir/pkg/usr/sbin/dhcpcd
+ install -D -m644 ../dhcpcd.conf.d $startdir/pkg/etc/conf.d/dhcpcd
+}