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/.footprint | 13 +++++++------ dhcpcd/Pkgfile | 27 ++++++++++++++++++--------- 2 files changed, 25 insertions(+), 15 deletions(-) (limited to 'dhcpcd') diff --git a/dhcpcd/.footprint b/dhcpcd/.footprint index 41a6256..994a1d9 100644 --- a/dhcpcd/.footprint +++ b/dhcpcd/.footprint @@ -14,12 +14,13 @@ drwxr-xr-x root/root lib/dhcpcd/dhcpcd-hooks/ drwxr-xr-x root/root sbin/ -rwxr-xr-x root/root sbin/dhcpcd drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/man/ -drwxr-xr-x root/root usr/man/man5/ --rw-r--r-- root/root usr/man/man5/dhcpcd.conf.5.gz -drwxr-xr-x root/root usr/man/man8/ --rw-r--r-- root/root usr/man/man8/dhcpcd-run-hooks.8.gz --rw-r--r-- root/root usr/man/man8/dhcpcd.8.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/dhcpcd.conf.5 +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/dhcpcd-run-hooks.8 +-rw-r--r-- root/root usr/share/man/man8/dhcpcd.8 drwxr-xr-x root/root var/ drwxr-xr-x root/root var/lib/ drwxr-xr-x root/root var/lib/dhcpcd/ 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-54-g00ecf