wok diff libnids/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
children 65d7d867e0c1
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libnids/receipt	Tue Oct 22 12:55:54 2019 +0300
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libnids"
     1.7 +VERSION="1.24"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="An E-component of Network Intrusion Detection System."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://libnids.sourceforge.net/"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
    1.15 +#https://sourceforge.net/projects/libnids/files/libnids/1.24/libnids-1.24.tar.gz
    1.16 +
    1.17 +DEPENDS=""
    1.18 +BUILD_DEPENDS="pkg-config libpcap-dev glib-dev libnet-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	sed -i "s|^install_prefix.*|install_prefix = $DESTDIR|" src/Makefile*
    1.24 +	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$DESTDIR install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	cp -a $install/* $fs/
    1.33 +}