wok view ipkungfu/receipt @ rev 25501
Up aspell-pl (6.0_20230101-0), monitorix (3.15.0), simh (3.12.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 11 14:20:29 2023 +0000 (22 months ago) |
parents | 8dd8bab3f0ca |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ipkungfu"
4 VERSION="0.6.1"
5 CATEGORY="network"
6 SHORT_DESC="Iptables-based Linux firewall."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20150221063047/http://linuxkungfu.org/"
11 WGET_URL="http://http.debian.net/debian/pool/main/i/$PACKAGE/$TARBALL"
13 DEPENDS="iptables bash"
14 BUILD_DEPENDS="iptables"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr \
27 --sysconfdir=/etc \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make -j 1 DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 cp -a $install/usr/sbin $fs/usr
39 cp -a $install/usr/share/ipkungfu $fs/usr/share
40 cp -a $install/etc $fs
41 }