core/dhcpcd/Pkgfile

30 lines
763 B
Plaintext
Raw Normal View History

2006-12-15 09:19:23 +01:00
# Description: An RFC2131-compliant DHCP client daemon
2020-07-16 18:52:30 +02:00
# URL: https://roy.marples.name/projects/dhcpcd/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: eudev
2006-02-23 16:26:10 +01:00
name=dhcpcd
2020-12-30 14:01:32 +01:00
version=9.4.0
2020-09-08 16:59:36 +02:00
release=1
2020-07-04 14:55:03 +02:00
source=(https://roy.marples.name/downloads/dhcpcd/$name-$version.tar.xz
rc.dhcpcd)
2006-02-23 16:26:10 +01:00
build () {
cd $name-$version
2008-09-17 10:46:40 +02:00
2009-09-11 12:42:25 +02:00
./configure --prefix= \
--libexecdir=/lib/dhcpcd \
--dbdir=/var/lib/dhcpcd \
2009-09-23 10:30:57 +02:00
--sysconfdir=/etc/dhcpcd \
--enable-privsep \
--privsepuser=dhcpcd
2008-09-17 10:46:40 +02:00
make
2008-09-17 10:46:40 +02:00
make DESTDIR=$PKG install
install -d -o dhcpcd -g dhcpcd $PKG/var/lib/dhcpcd
2020-07-04 14:55:03 +02:00
install -D -m 0755 $SRC/rc.dhcpcd $PKG/etc/rc.d/dhcpcd
2009-09-11 12:42:25 +02:00
chmod -R u+w $PKG
2006-02-23 16:26:10 +01:00
}