summaryrefslogtreecommitdiffstats
path: root/base/dhcpcd/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-24 20:50:00 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-24 20:50:00 +0100
commitb24d4534a7af71144c9f5f5d265c117df6522611 (patch)
tree4446a9cf1b1a88c0cf83ebfb33fe8a4a5f003941 /base/dhcpcd/Pkgfile
parent7c48fe0d2fe889406c9de95d25f17287c9e2cf42 (diff)
downloadnutyx-pakxe-b24d4534a7af71144c9f5f5d265c117df6522611.tar.gz
nutyx-pakxe-b24d4534a7af71144c9f5f5d265c117df6522611.tar.bz2
nutyx-pakxe-b24d4534a7af71144c9f5f5d265c117df6522611.tar.xz
nutyx-pakxe-b24d4534a7af71144c9f5f5d265c117df6522611.zip
Maj dhcpcd#5.1.3-1
Diffstat (limited to 'base/dhcpcd/Pkgfile')
-rwxr-xr-xbase/dhcpcd/Pkgfile16
1 files changed, 8 insertions, 8 deletions
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 ../..
+
}