wok annotate udhcpc6-fake/receipt @ rev 21208
Update deadbeef (1.8.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Apr 09 12:13:22 2019 +0300 (2019-04-09) |
parents | 9e01bc6321ea |
children | f1e92a9bbf08 |
rev | line source |
---|---|
pascal@7145 | 1 # SliTaz package receipt. |
pascal@7145 | 2 |
pascal@7145 | 3 PACKAGE="udhcpc6-fake" |
pascal@7145 | 4 VERSION="1.0" |
pascal@7145 | 5 CATEGORY="network" |
pascal@7145 | 6 SHORT_DESC="Temporary? udhcpc fake for ipv6 support." |
pascal@7145 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15216 | 8 LICENSE="BSD" |
pascal@20867 | 9 WEB_SITE="http://www.isc.org/downloads/DHCP/" |
pascal@7145 | 10 DEPENDS="dhcp6-client" |
pascal@7145 | 11 |
pascal@7145 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7145 | 13 genpkg_rules() |
pascal@7145 | 14 { |
pascal@7145 | 15 cp -a stuff/* $fs |
pascal@7146 | 16 chmod +x $fs/sbin/udhcpc $fs/etc/dhclient-script |
pascal@7145 | 17 } |
pascal@7145 | 18 |
pascal@8879 | 19 # Overlap busybox |
pascal@8879 | 20 pre_install() |
pascal@8879 | 21 { |
pascal@18730 | 22 rm -f "$1/sbin/udhcpc" |
pascal@8879 | 23 } |
pascal@8879 | 24 |
pascal@8879 | 25 post_remove() |
pascal@8879 | 26 { |
pascal@8879 | 27 ln -s /bin/busybox /sbin/udhcpc |
pascal@8879 | 28 } |