wok-next annotate udhcpc6-fake/receipt @ rev 8879
udhcpc6-fake, util-linux-ng-blkid, xz: restore busybox links in port_remove()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 27 01:43:15 2011 +0100 (2011-02-27) |
parents | d871301c2874 |
children | b0c60d808e5c |
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@7145 | 8 WEB_SITE="http://www.isc.org/products/DHCP/" |
pascal@7145 | 9 DEPENDS="dhcp6-client" |
pascal@7145 | 10 |
pascal@7145 | 11 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7145 | 12 genpkg_rules() |
pascal@7145 | 13 { |
pascal@7145 | 14 cp -a stuff/* $fs |
pascal@7146 | 15 chmod +x $fs/sbin/udhcpc $fs/etc/dhclient-script |
pascal@7145 | 16 } |
pascal@7145 | 17 |
pascal@8879 | 18 # Overlap busybox |
pascal@8879 | 19 pre_install() |
pascal@8879 | 20 { |
pascal@8879 | 21 rm -f $1/sbin/udhcpc |
pascal@8879 | 22 } |
pascal@8879 | 23 |
pascal@8879 | 24 post_remove() |
pascal@8879 | 25 { |
pascal@8879 | 26 ln -s /bin/busybox /sbin/udhcpc |
pascal@8879 | 27 } |