wok-current view udhcpc6-fake/receipt @ rev 20286
broadcom-wl: add some kernel compatibility patches from debian
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 02 11:19:24 2018 +0200 (2018-04-02) |
parents | b0c60d808e5c |
children | e05d978e5ab8 |
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 LICENSE="BSD"
9 WEB_SITE="http://www.isc.org/products/DHCP/"
10 DEPENDS="dhcp6-client"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 cp -a stuff/* $fs
16 chmod +x $fs/sbin/udhcpc $fs/etc/dhclient-script
17 }
19 # Overlap busybox
20 pre_install()
21 {
22 rm -f "$1/sbin/udhcpc"
23 }
25 post_remove()
26 {
27 ln -s /bin/busybox /sbin/udhcpc
28 }