summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dhcpcd/.footprint13
-rw-r--r--dhcpcd/Pkgfile27
2 files changed, 25 insertions, 15 deletions
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 <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
}