wok-6.x view netplug/receipt @ rev 23813
syslinux/iso2exe: fix linld.com path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 25 18:40:12 2020 +0000 (2020-05-25) |
parents | 6bd67b683b9c |
children | 241fb98cab1c |
line source
1 # SliTaz package receipt.
3 PACKAGE="netplug"
4 VERSION="1.2.9.2"
5 CATEGORY="network"
6 SHORT_DESC="A daemon that manages network interfaces plugs in and out."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.serpentine.com/blog/software/netplug/"
11 WGET_URL="http://www.red-bean.com/~bos/netplug/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 sed -i '/hg_root/,$d' Makefile
17 make prefix=/usr netplugd &&
18 make DESTDIR=$DESTDIR install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir $fs/etc
25 cp -a $install/etc/rc.d/init.d $fs/etc
26 cp -a $install/etc/netp* $fs/etc
27 cp -a $install/sbin $fs
28 }