wok view udhcpc6-fake/receipt @ rev 9065

cpufrequtils: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 13:31:15 2011 +0100 (2011-03-04)
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 }