wok-6.x annotate ipkungfu/receipt @ rev 25120
updated pekwm (0.1.17 -> 0.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 26 10:18:40 2022 +0100 (2022-06-26) |
parents | 8dd8bab3f0ca |
children |
rev | line source |
---|---|
pascal@18683 | 1 # SliTaz package receipt. |
pascal@18683 | 2 |
pascal@18683 | 3 PACKAGE="ipkungfu" |
pascal@18683 | 4 VERSION="0.6.1" |
pascal@18683 | 5 CATEGORY="network" |
pascal@18683 | 6 SHORT_DESC="Iptables-based Linux firewall." |
pascal@18683 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18683 | 8 LICENSE="GPL2" |
pascal@18683 | 9 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" |
pascal@20672 | 10 WEB_SITE="https://web.archive.org/web/20150221063047/http://linuxkungfu.org/" |
pascal@18683 | 11 WGET_URL="http://http.debian.net/debian/pool/main/i/$PACKAGE/$TARBALL" |
pascal@18683 | 12 |
pascal@18683 | 13 DEPENDS="iptables bash" |
pascal@18683 | 14 BUILD_DEPENDS="iptables" |
pascal@18683 | 15 |
pascal@24419 | 16 # What is the latest version available today? |
pascal@24419 | 17 current_version() |
pascal@24419 | 18 { |
pascal@24419 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24419 | 20 sed "/latest/d;/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\1|" | sort -Vr | sed q |
pascal@24419 | 21 } |
pascal@24419 | 22 |
pascal@18683 | 23 # Rules to configure and make the package. |
pascal@18683 | 24 compile_rules() |
pascal@18683 | 25 { |
pascal@18683 | 26 ./configure --prefix=/usr \ |
pascal@18683 | 27 --sysconfdir=/etc \ |
pascal@18683 | 28 --mandir=/usr/share/man \ |
pascal@18683 | 29 $CONFIGURE_ARGS && |
pascal@18683 | 30 make && |
pascal@18683 | 31 make -j 1 DESTDIR=$DESTDIR install |
pascal@18683 | 32 } |
pascal@18683 | 33 |
pascal@18683 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18683 | 35 genpkg_rules() |
pascal@18683 | 36 { |
pascal@18684 | 37 mkdir -p $fs/usr/share |
pascal@18683 | 38 cp -a $install/usr/sbin $fs/usr |
pascal@18684 | 39 cp -a $install/usr/share/ipkungfu $fs/usr/share |
pascal@18683 | 40 cp -a $install/etc $fs |
pascal@18683 | 41 } |