From b24d4534a7af71144c9f5f5d265c117df6522611 Mon Sep 17 00:00:00 2001 From: tnut Date: Thu, 24 Dec 2009 20:50:00 +0100 Subject: Maj dhcpcd#5.1.3-1 --- base/dhcpcd/Pkgfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'base/dhcpcd/Pkgfile') diff --git a/base/dhcpcd/Pkgfile b/base/dhcpcd/Pkgfile index cd2c3cb4c..e0ed4769a 100755 --- a/base/dhcpcd/Pkgfile +++ b/base/dhcpcd/Pkgfile @@ -5,7 +5,7 @@ # Depends on: name=dhcpcd -version=5.0.6 +version=5.1.3 release=1 source=( http://roy.marples.name/downloads/$name/$name-$version.tar.bz2\ dhcpcd \ @@ -16,13 +16,12 @@ build() { wget http://www.linuxfromscratch.org/blfs/downloads/svn/${scripts}-${scriptsversion}.tar.bz2 tar xvf $scripts-$scriptsversion.tar.bz2 cd $name-$version - export PREFIX=/usr - sed -i 's/${PREFIX}\/etc/\/etc/' Makefile - sed -i 's/\/db/\/lib\/dhcpcd/' Makefile - sed -i 's/\/libexec/\/lib\/dhcpcd/' Makefile - sed -i 's/\/libexec/\/lib\/dhcpcd/' dhcpcd-hooks/Makefile - sed -i 's/${PREFIX}\/sbin/\/sbin/' Makefile - + ./configure --prefix= \ + --libexecdir=/usr/lib/dhcpcd \ + --dbdir=/var/lib/dhcpcd \ + --sysconfdir=/etc \ + --os=linux \ + --with-hooks=none make make DESTDIR=$PKG install mkdir -p $PKG/etc/sysconfig/network-devices/ifconfig.eth0 @@ -30,4 +29,5 @@ build() { cd ../$scripts-$scriptsversion make DESTDIR=$PKG install-service-dhcpcd cd ../.. + } -- cgit v1.2.3-70-g09d2