wok-current view firehol/receipt @ rev 24849

updated libwebp and libwebp-dev (1.1.0 -> 1.2.2)
author Hans-G?nter Theisgen
date Fri Mar 25 17:27:11 2022 +0100 (2022-03-25)
parents 5ea0ce1cecc0
children e197a1539e2e
line source
1 # SliTaz package receipt.
3 PACKAGE="firehol"
4 VERSION="3.1.7"
5 CATEGORY="security"
6 SHORT_DESC="A firewall for humans..."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://firehol.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://github.com/firehol/firehol/releases/download/v$VERSION/$TARBALL"
14 BUILD_DEPENDS="curl iprange iproute2 ipset"
15 DEPENDS="$BUILD_DEPENDS bash"
17 CONFIG_FILES="/etc/firehol"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
40 mkdir -p $fs/usr/sbin
42 cp -a $install/etc $fs
43 for i in $(ls $install/usr/sbin)
44 do
45 ln -s /usr/libexec/firehol/$VERSION/$i $fs/usr/sbin
46 done
47 cp -a $install/usr/libexec $fs/usr
48 cp -a $install/usr/share/update-ipsets $fs/usr/share
49 }