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

Update rawstudio for exiv2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 21 14:53:30 2019 +0100 (2019-03-21)
parents d79fd0c7512f
children 70ff70d49f5c
rev   line source
pascal@20038 1 # SliTaz package receipt.
pascal@20038 2
pascal@20038 3 PACKAGE="firehol"
pascal@20038 4 VERSION="3.1.4"
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"
pascal@20038 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@20038 10 WEB_SITE="http://firehol.org/"
pascal@20038 11 WGET_URL="https://github.com/firehol/firehol/releases/download/v$VERSION/$TARBALL"
pascal@20038 12 CONFIG_FILES="/etc/firehol"
pascal@20038 13
pascal@20039 14 BUILD_DEPENDS="iproute2 iprange ipset curl"
pascal@20038 15 DEPENDS="$BUILD_DEPENDS bash"
pascal@20038 16
pascal@20038 17 # Rules to configure and make the package.
pascal@20038 18 compile_rules()
pascal@20038 19 {
pascal@20038 20 ./configure --prefix=/usr \
pascal@20038 21 --sysconfdir=/etc \
pascal@20038 22 $CONFIGURE_ARGS &&
pascal@20038 23 make &&
pascal@20038 24 make DESTDIR=$DESTDIR install
pascal@20038 25 }
pascal@20038 26
pascal@20038 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20038 28 genpkg_rules()
pascal@20038 29 {
pascal@20038 30 mkdir -p $fs/usr/share $fs/usr/sbin
pascal@20038 31 cp -a $install/etc $fs
pascal@20038 32 for i in $(ls $install/usr/sbin); do
pascal@20038 33 ln -s /usr/libexec/firehol/$VERSION/$i $fs/usr/sbin
pascal@20038 34 done
pascal@20038 35 cp -a $install/usr/libexec $fs/usr
pascal@20038 36 cp -a $install/usr/share/update-ipsets $fs/usr/share
pascal@20038 37 }