talimat 594 B

1234567891011121314151617181920212223
  1. # Description: Connect your computer to a network which uses DHCP to assign network addresses.
  2. # URL: http://roy.marples.name/projects/dhcpcd
  3. # Maintainer: Roy Marples
  4. # Packager: milisarge@gmail.com
  5. name=dhcpcd
  6. version=6.10.1
  7. release=1
  8. source=(http://roy.marples.name/downloads/$name/$name-$version.tar.xz)
  9. build() {
  10. cd $name-$version
  11. ./configure --prefix= \
  12. --libexecdir=/lib/dhcpcd \
  13. --dbdir=/var/tmp
  14. make
  15. make DESTDIR=$PKG install
  16. sed -i "s;/var/lib;/run;g" dhcpcd-hooks/50-dhcpcd-compat
  17. install -v -m 644 dhcpcd-hooks/50-dhcpcd-compat $PKG/lib/dhcpcd/dhcpcd-hooks/
  18. rm -r $PKG/var/tmp
  19. }