wok-6.x annotate ufw/receipt @ rev 18891
Add ufw
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 12 18:20:52 2016 +0100 (2016-02-12) |
parents | |
children | 6383e7884f9d |
rev | line source |
---|---|
pascal@18891 | 1 # SliTaz package receipt. |
pascal@18891 | 2 |
pascal@18891 | 3 PACKAGE="ufw" |
pascal@18891 | 4 VERSION="0.34" |
pascal@18891 | 5 CATEGORY="security" |
pascal@18891 | 6 SHORT_DESC="Uncomplicated Firewall, a cli for managing netfilter" |
pascal@18891 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18891 | 8 LICENSE="GPL3" |
pascal@18891 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18891 | 10 WEB_SITE="https://launchpad.net/ufw" |
pascal@18891 | 11 WGET_URL="$WEB_SITE/$VERSION/$VERSION/+download/$TARBALL" |
pascal@18891 | 12 TAGS="firewall" |
pascal@18891 | 13 |
pascal@18891 | 14 DEPENDS="python iptables" |
pascal@18891 | 15 BUILD_DEPENDS="python iptables" |
pascal@18891 | 16 |
pascal@18891 | 17 # Rules to configure and make the package. |
pascal@18891 | 18 compile_rules() |
pascal@18891 | 19 { |
pascal@18891 | 20 python setup.py build |
pascal@18891 | 21 python setup.py install --root=$DESTDIR |
pascal@18891 | 22 } |
pascal@18891 | 23 |
pascal@18891 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18891 | 25 genpkg_rules() |
pascal@18891 | 26 { |
pascal@18891 | 27 cp -a $install/* $fs/ |
pascal@18891 | 28 } |