wok-6.x diff firehol/receipt @ rev 23042

gcc83-lib-base: add /usr/libgcc83/libstdc++.la
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 05 12:13:42 2020 +0100 (2020-03-05)
parents 49e861a5cc92
children 5ea0ce1cecc0
line diff
     1.1 --- a/firehol/receipt	Fri Aug 25 17:35:21 2017 +0200
     1.2 +++ b/firehol/receipt	Thu Mar 05 12:13:42 2020 +0100
     1.3 @@ -1,24 +1,27 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="firehol"
     1.7 -VERSION="3.1.4"
     1.8 +VERSION="3.1.6"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="A firewall for humans..."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://firehol.org/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16 -WEB_SITE="http://firehol.org/"
    1.17  WGET_URL="https://github.com/firehol/firehol/releases/download/v$VERSION/$TARBALL"
    1.18 +
    1.19 +BUILD_DEPENDS="curl iprange iproute2 ipset"
    1.20 +DEPENDS="$BUILD_DEPENDS bash"
    1.21 +
    1.22  CONFIG_FILES="/etc/firehol"
    1.23  
    1.24 -BUILD_DEPENDS="iproute2 iprange ipset curl"
    1.25 -DEPENDS="$BUILD_DEPENDS bash"
    1.26 -
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	./configure --prefix=/usr \
    1.31 -		--sysconfdir=/etc \
    1.32 +	./configure			\
    1.33 +		--prefix=/usr		\
    1.34 +		--sysconfdir=/etc	\
    1.35  		$CONFIGURE_ARGS &&
    1.36  	make &&
    1.37  	make DESTDIR=$DESTDIR install
    1.38 @@ -27,11 +30,14 @@
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -	mkdir -p $fs/usr/share $fs/usr/sbin
    1.43 -	cp -a $install/etc $fs
    1.44 -	for i in $(ls $install/usr/sbin); do
    1.45 +	mkdir -p $fs/usr/share
    1.46 +	mkdir -p $fs/usr/sbin
    1.47 +
    1.48 +	cp -a $install/etc			$fs
    1.49 +	for i in $(ls $install/usr/sbin)
    1.50 +	  do
    1.51  		ln -s /usr/libexec/firehol/$VERSION/$i $fs/usr/sbin
    1.52 -	done
    1.53 -	cp -a $install/usr/libexec $fs/usr
    1.54 -	cp -a $install/usr/share/update-ipsets $fs/usr/share
    1.55 +	  done
    1.56 +	cp -a $install/usr/libexec		$fs/usr
    1.57 +	cp -a $install/usr/share/update-ipsets	$fs/usr/share
    1.58  }