wok view udhcpc6-fake/receipt @ rev 10908
mpd: add init script (thanks Mali)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 26 11:44:53 2011 +0200 (2011-07-26) |
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 }