milis/talimatname/temel/dhcpcd/talimat

23 lines
576 B
Plaintext
Raw Normal View History

2017-10-27 21:56:50 +02:00
# Tanım: Connect your computer to a network which uses DHCP to assign network addresses.
2016-02-24 01:27:23 +01:00
# URL: http://roy.marples.name/projects/dhcpcd
2017-10-27 21:56:50 +02:00
# Paketçi: milisarge@gmail.com
# Gerekler:
2016-02-24 01:27:23 +01:00
2017-10-28 14:15:02 +02:00
isim=dhcpcd
surum=6.10.1
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:15:02 +02:00
kaynak=(http://roy.marples.name/downloads/$isim/$isim-$surum.tar.xz)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:15:02 +02:00
cd $isim-$surum
2017-10-27 21:56:50 +02:00
./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
2016-02-24 01:27:23 +01:00
}