Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | # Description: An RFC2131-compliant DHCP client daemon |
2 | # URL: http://roy.marples.name/dhcpcd | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
83e7e2d0 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu |
cd9bfd5f | 5 | # Depends on: |
6dca1d21 JB |
6 | |
7 | name=dhcpcd | |
46d0278d | 8 | version=5.1.5 |
6dca1d21 JB |
9 | release=1 |
10 | source=(http://roy.marples.name/downloads/dhcpcd/$name-$version.tar.bz2) | |
11 | ||
12 | build () { | |
13 | cd $name-$version | |
14 | ||
cd9bfd5f JB |
15 | ./configure --build=$CHOST \ |
16 | --host=$CTARGET \ | |
17 | --prefix= \ | |
18 | --libexecdir=/lib/dhcpcd \ | |
19 | --dbdir=/var/lib/dhcpcd \ | |
20 | --mandir=/usr/man \ | |
21 | --sysconfdir=/etc/dhcpcd \ | |
22 | --os=linux \ | |
23 | --with-hooks=none | |
6dca1d21 | 24 | |
cd9bfd5f | 25 | make |
6dca1d21 | 26 | make DESTDIR=$PKG install |
cd9bfd5f JB |
27 | |
28 | chmod -R u+w $PKG | |
6dca1d21 | 29 | } |