From 71e65e12beec2ebe03e1796acf5ed400dd0a4da0 Mon Sep 17 00:00:00 2001 From: Lukc Date: Tue, 21 Dec 2010 04:33:04 +0100 Subject: Recette de dhcpcd mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dhcpcd/Pkgfile | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) (limited to 'dhcpcd/Pkgfile') 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 " +maintainer="Lukc " 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 } -- cgit v1.2.3-70-g09d2