2016-02-24 01:27:23 +01:00
|
|
|
# Description: Connect your computer to a network which uses DHCP to assign network addresses.
|
|
|
|
# URL: http://roy.marples.name/projects/dhcpcd
|
|
|
|
# Maintainer: Roy Marples
|
2016-03-20 02:15:25 +01:00
|
|
|
# Packager: milisarge@gmail.com
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
name=dhcpcd
|
|
|
|
version=6.10.1
|
|
|
|
release=1
|
|
|
|
|
|
|
|
source=(http://roy.marples.name/downloads/$name/$name-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
./configure --prefix= \
|
|
|
|
--libexecdir=/lib/dhcpcd \
|
|
|
|
--dbdir=/var/tmp
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
sed -i "s;/var/lib;/run;g" dhcpcd-hooks/50-dhcpcd-compat
|
|
|
|
install -v -m 644 dhcpcd-hooks/50-dhcpcd-compat $PKG/lib/dhcpcd/dhcpcd-hooks/
|
|
|
|
rm -r $PKG/var/tmp
|
|
|
|
}
|