wok view firehol/receipt @ rev 20844
created recipe for fluxcomp 1.4.4
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 21 13:50:05 2019 +0100 (2019-02-21) |
parents | d79fd0c7512f |
children | 70ff70d49f5c |
line source
1 # SliTaz package receipt.
3 PACKAGE="firehol"
4 VERSION="3.1.4"
5 CATEGORY="security"
6 SHORT_DESC="A firewall for humans..."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://firehol.org/"
11 WGET_URL="https://github.com/firehol/firehol/releases/download/v$VERSION/$TARBALL"
12 CONFIG_FILES="/etc/firehol"
14 BUILD_DEPENDS="iproute2 iprange ipset curl"
15 DEPENDS="$BUILD_DEPENDS bash"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --prefix=/usr \
21 --sysconfdir=/etc \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share $fs/usr/sbin
31 cp -a $install/etc $fs
32 for i in $(ls $install/usr/sbin); do
33 ln -s /usr/libexec/firehol/$VERSION/$i $fs/usr/sbin
34 done
35 cp -a $install/usr/libexec $fs/usr
36 cp -a $install/usr/share/update-ipsets $fs/usr/share
37 }