summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/dhcpcd/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/dhcpcd/PKGBUILD
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
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
+}