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 | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
cd9bfd5f | 5 | # Depends on: |
6dca1d21 JB |
6 | |
7 | name=dhcpcd | |
6343c91e | 8 | version=5.2.12 |
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 | } |