blob: 1ddb049feff53413e9d87b50666f78f858263e5f (
plain)
1 # Description: An RFC2131-compliant DHCP client daemon
2 # URL: https://roy.marples.name/projects/dhcpcd/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Depends on: eudev
5
6 name=dhcpcd
7 version=9.4.0.105
8 release=1
9 #source=(https://roy.marples.name/downloads/dhcpcd/$name-$version.tar.xz
10 source=(https://crux.nu/files/distfiles/$name-$version.tar.xz
11 rc.dhcpcd)
12
13 build() {
14 cd $name-$version
15
16 ./configure \
17 --prefix= \
18 --libexecdir=/lib/dhcpcd \
19 --dbdir=/var/lib/dhcpcd \
20 --sysconfdir=/etc/dhcpcd \
21 --rundir=/run/dhcpcd \
22 --enable-privsep \
23 --privsepuser=dhcpcd
24
25 make
26 make DESTDIR=$PKG install
27
28 install -d -o dhcpcd -g dhcpcd $PKG/var/lib/dhcpcd
29 install -D -m 0755 $SRC/rc.dhcpcd $PKG/etc/rc.d/dhcpcd
30
31 chmod -R u+w $PKG
32 }
|