wok view netplug/receipt @ rev 24093

Up squashfs (4.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 27 16:57:54 2021 +0000 (2021-07-27)
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 }