# HG changeset patch # User Pascal Bellard # Date 1404474103 -7200 # Node ID aadee5047c4ea74bfd2f8657de15e84ee8f03695 # Parent 845cb0b3d966a0d30e3c593c9137658b06f5b4af iptables-template: add compile_rules diff -r 845cb0b3d966 -r aadee5047c4e iptables-template/receipt --- a/iptables-template/receipt Fri Jul 04 13:03:36 2014 +0200 +++ b/iptables-template/receipt Fri Jul 04 13:41:43 2014 +0200 @@ -10,15 +10,21 @@ BUILD_DEPENDS="wget" -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() +# Rules to configure and make the package. +compile_rules() { - mkdir -p $fs/usr/share/iptables + mkdir -p $install/usr/share/iptables for i in c025b0b8c58af49aa9644982c459314c9adba157/rules-both.iptables \ 622104b0e46e0e7134a69bb7ce24850943b8d2a7/rules-ipv4.iptables \ 3b92a873bf750a6df32331657c641078adc5906e/rules-ipv6.ip6tables do wget --no-check-certificate \ - -O $fs/usr/share/iptables/$(basename $i) $WEB_SITE/raw/$i + -O $install/usr/share/iptables/$(basename $i) $WEB_SITE/raw/$i done } + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs +} diff -r 845cb0b3d966 -r aadee5047c4e luksus/receipt --- a/luksus/receipt Fri Jul 04 13:03:36 2014 +0200 +++ b/luksus/receipt Fri Jul 04 13:41:43 2014 +0200 @@ -11,6 +11,7 @@ WGET_URL="https://github.com/thomasfrivold/luksus/archive/v$VERSION.tar.gz" DEPENDS="bash dialog cryptsetup tcplay gnupg openssl" +BUILD_DEPENDS="wget" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules()