wok-6.x annotate ipkungfu/receipt @ rev 18785
busybox: udisk2 want busybox mount, why ?
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 03 22:21:53 2016 +0100 (2016-01-03) |
parents | f6561cd0e543 |
children | 8dd8bab3f0ca |
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@18683 | 10 WEB_SITE="http://www.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 } |