wok-6.x view netplug/receipt @ rev 21545
updated ninja (1.8.2 -> 1.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 06 13:49:29 2019 +0100 (2019-05-06) |
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 }