wok annotate netplug/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
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 }