X-Git-Url: http://gitweb/?a=blobdiff_plain;ds=sidebyside;f=dhcpcd%2FPkgfile;h=848f81db34c46aee39164991871501585201ad41;hb=742845dfd35e033748995d3831d731ad8da59967;hp=37d16dc27ff2e2992752f5b38cfa7bf14dea9292;hpb=6dca1d213a39ee6af51632926e8b7c8914215cd9;p=crossrootfs.git

diff --git a/dhcpcd/Pkgfile b/dhcpcd/Pkgfile
index 37d16dc..848f81d 100644
--- a/dhcpcd/Pkgfile
+++ b/dhcpcd/Pkgfile
@@ -1,22 +1,29 @@
 # Description: An RFC2131-compliant DHCP client daemon
 # URL: http://roy.marples.name/dhcpcd
 # Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on:
 
 name=dhcpcd
-version=5.0.6
+version=5.2.11
 release=1
 source=(http://roy.marples.name/downloads/dhcpcd/$name-$version.tar.bz2)
 
 build () {
   cd $name-$version
 
-  export PREFIX=/
-  export LIBEXECDIR=/lib/dhcpcd
-  export DBDIR=/var/lib/dhcpcd
-  export MANPREFIX=/usr
-  export SYSCONFDIR=/etc/dhcpcd
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix= \
+              --libexecdir=/lib/dhcpcd \
+              --dbdir=/var/lib/dhcpcd \
+              --mandir=/usr/man \
+              --sysconfdir=/etc/dhcpcd \
+              --os=linux \
+              --with-hooks=none
 
-  make CSTD=gnu99
+  make
   make DESTDIR=$PKG install
+
+  chmod -R u+w $PKG
 }