wok view udhcpc6-fake/receipt @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
parents d871301c2874
children b0c60d808e5c
line source
1 # SliTaz package receipt.
3 PACKAGE="udhcpc6-fake"
4 VERSION="1.0"
5 CATEGORY="network"
6 SHORT_DESC="Temporary? udhcpc fake for ipv6 support."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://www.isc.org/products/DHCP/"
9 DEPENDS="dhcp6-client"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 cp -a stuff/* $fs
15 chmod +x $fs/sbin/udhcpc $fs/etc/dhclient-script
16 }
18 # Overlap busybox
19 pre_install()
20 {
21 rm -f $1/sbin/udhcpc
22 }
24 post_remove()
25 {
26 ln -s /bin/busybox /sbin/udhcpc
27 }