wok-current view ipkungfu/receipt @ rev 25372
updated trash-cli (0.17.1.14 -> 0.22.4.16)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 29 14:58:56 2022 +0100 (2022-07-29) |
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 }