diff options
Diffstat (limited to 'dhcpcd/Pkgfile')
-rw-r--r-- | dhcpcd/Pkgfile | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/dhcpcd/Pkgfile b/dhcpcd/Pkgfile index 894b131..6e102ce 100644 --- a/dhcpcd/Pkgfile +++ b/dhcpcd/Pkgfile @@ -1,18 +1,27 @@ -description="An RFC2131-compliant DHCP client daemon" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="An RFC2131-compliant DHCP client daemon." +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" url="http://roy.marples.name/dhcpcd" depends=() name=dhcpcd version=5.2.9 release=1 -source=(http://roy.marples.name/downloads/dhcpcd/dhcpcd-5.2.9.tar.bz2) +source=(http://roy.marples.name/downloads/$name/$name-$version.tar.bz2) build () { - cd $name-$version; - ./configure --prefix= --libexecdir=/lib/dhcpcd --dbdir=/var/lib/dhcpcd --mandir=/usr/man --sysconfdir=/etc/dhcpcd --os=linux --with-hooks=none; - make; - make DESTDIR=$PKG install; - chmod -R u+w $PKG + cd $name-$version; + ./configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ + --prefix= \ + --libexecdir=/lib/dhcpcd \ + --dbdir=/var/lib/dhcpcd \ + --mandir=$mandir \ + --sysconfdir=$sysconfdir/dhcpcd \ + --os=linux \ + --with-hooks=none; + make; + make DESTDIR=$PKG install; + chmod -R u+w $PKG } |