wok annotate netplug/receipt @ rev 20804

syslinux/iso2exe: add a MessageBox for Win9x
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 16 17:45:15 2019 +0100 (2019-02-16)
parents
children 54f857962813
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@20795 26 cp -a $install/etc/netp* $fs
pascal@20795 27 cp -a $install/sbin $fs
pascal@20795 28 }