| 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 |
| 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 5 | # Depends on: |
| 6 | |
| 7 | name=dhcpcd |
| 8 | version=5.1.5 |
| 9 | release=1 |
| 10 | source=(http://roy.marples.name/downloads/dhcpcd/$name-$version.tar.bz2) |
| 11 | |
| 12 | build () { |
| 13 | cd $name-$version |
| 14 | |
| 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 |
| 24 | |
| 25 | make |
| 26 | make DESTDIR=$PKG install |
| 27 | |
| 28 | chmod -R u+w $PKG |
| 29 | } |