wok annotate ipkungfu/receipt @ rev 20700
updated afio (2.5.1 -> 2.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 05 17:01:36 2019 +0100 (2019-02-05) |
parents | b094b6937e7a |
children | b78e79c31b1f |
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@18683 | 16 # Rules to configure and make the package. |
pascal@18683 | 17 compile_rules() |
pascal@18683 | 18 { |
pascal@18683 | 19 ./configure --prefix=/usr \ |
pascal@18683 | 20 --sysconfdir=/etc \ |
pascal@18683 | 21 --mandir=/usr/share/man \ |
pascal@18683 | 22 $CONFIGURE_ARGS && |
pascal@18683 | 23 make && |
pascal@18683 | 24 make -j 1 DESTDIR=$DESTDIR install |
pascal@18683 | 25 } |
pascal@18683 | 26 |
pascal@18683 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18683 | 28 genpkg_rules() |
pascal@18683 | 29 { |
pascal@18684 | 30 mkdir -p $fs/usr/share |
pascal@18683 | 31 cp -a $install/usr/sbin $fs/usr |
pascal@18684 | 32 cp -a $install/usr/share/ipkungfu $fs/usr/share |
pascal@18683 | 33 cp -a $install/etc $fs |
pascal@18683 | 34 } |