wok annotate netplug/receipt @ rev 22772
updated fping (3.4 -> 4.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 25 15:58:26 2020 +0100 (2020-01-25) |
parents | 6bd67b683b9c |
children | 241fb98cab1c |
rev | line source |
---|---|
pascal@20795 | 1 # SliTaz package receipt. |
pascal@20795 | 2 |
pascal@20795 | 3 PACKAGE="netplug" |
pascal@20795 | 4 VERSION="1.2.9.2" |
pascal@20795 | 5 CATEGORY="network" |
pascal@20795 | 6 SHORT_DESC="A daemon that manages network interfaces plugs in and out." |
pascal@20795 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20795 | 8 LICENSE="GPL2" |
pascal@20795 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20795 | 10 WEB_SITE="http://www.serpentine.com/blog/software/netplug/" |
pascal@20795 | 11 WGET_URL="http://www.red-bean.com/~bos/netplug/$TARBALL" |
pascal@20795 | 12 |
pascal@20795 | 13 # Rules to configure and make the package. |
pascal@20795 | 14 compile_rules() |
pascal@20795 | 15 { |
pascal@20795 | 16 sed -i '/hg_root/,$d' Makefile |
pascal@20795 | 17 make prefix=/usr netplugd && |
pascal@20795 | 18 make DESTDIR=$DESTDIR install |
pascal@20795 | 19 } |
pascal@20795 | 20 |
pascal@20795 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20795 | 22 genpkg_rules() |
pascal@20795 | 23 { |
pascal@20795 | 24 mkdir $fs/etc |
pascal@20795 | 25 cp -a $install/etc/rc.d/init.d $fs/etc |
pascal@20808 | 26 cp -a $install/etc/netp* $fs/etc |
pascal@20795 | 27 cp -a $install/sbin $fs |
pascal@20795 | 28 } |