wok-6.x annotate firehol/receipt @ rev 23122

updated libxfconf and libxfconf-dev (4.13.6 -> 4.14.1)
author Hans-G?nter Theisgen
date Fri Mar 13 09:28:19 2020 +0100 (2020-03-13)
parents 49e861a5cc92
children 5ea0ce1cecc0
rev   line source
pascal@20038 1 # SliTaz package receipt.
pascal@20038 2
pascal@20038 3 PACKAGE="firehol"
Hans-G?nter@22724 4 VERSION="3.1.6"
pascal@20038 5 CATEGORY="security"
pascal@20038 6 SHORT_DESC="A firewall for humans..."
pascal@20038 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20038 8 LICENSE="GPL2"
Hans-G?nter@22724 9 WEB_SITE="https://firehol.org/"
Hans-G?nter@22724 10
pascal@20038 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@20038 12 WGET_URL="https://github.com/firehol/firehol/releases/download/v$VERSION/$TARBALL"
Hans-G?nter@22724 13
Hans-G?nter@22724 14 BUILD_DEPENDS="curl iprange iproute2 ipset"
Hans-G?nter@22724 15 DEPENDS="$BUILD_DEPENDS bash"
Hans-G?nter@22724 16
pascal@20038 17 CONFIG_FILES="/etc/firehol"
pascal@20038 18
pascal@20038 19 # Rules to configure and make the package.
pascal@20038 20 compile_rules()
pascal@20038 21 {
Hans-G?nter@22724 22 ./configure \
Hans-G?nter@22724 23 --prefix=/usr \
Hans-G?nter@22724 24 --sysconfdir=/etc \
pascal@20038 25 $CONFIGURE_ARGS &&
pascal@20038 26 make &&
pascal@20038 27 make DESTDIR=$DESTDIR install
pascal@20038 28 }
pascal@20038 29
pascal@20038 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20038 31 genpkg_rules()
pascal@20038 32 {
Hans-G?nter@22724 33 mkdir -p $fs/usr/share
Hans-G?nter@22724 34 mkdir -p $fs/usr/sbin
Hans-G?nter@22724 35
Hans-G?nter@22724 36 cp -a $install/etc $fs
Hans-G?nter@22724 37 for i in $(ls $install/usr/sbin)
Hans-G?nter@22724 38 do
pascal@20038 39 ln -s /usr/libexec/firehol/$VERSION/$i $fs/usr/sbin
Hans-G?nter@22724 40 done
Hans-G?nter@22724 41 cp -a $install/usr/libexec $fs/usr
Hans-G?nter@22724 42 cp -a $install/usr/share/update-ipsets $fs/usr/share
pascal@20038 43 }