wok-6.x annotate ebtables/receipt @ rev 8797
Fix compile_rules() for ebtables
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 22 23:53:22 2011 +0100 (2011-02-22) |
parents | 31c985a0bd3d |
children | 029d3e9b3036 |
rev | line source |
---|---|
pascal@4530 | 1 # SliTaz package receipt. |
pascal@4530 | 2 |
pascal@4530 | 3 PACKAGE="ebtables" |
pascal@4530 | 4 VERSION="v2.0.9-1" |
pascal@4530 | 5 CATEGORY="network" |
pascal@4530 | 6 SHORT_DESC="Filtering tool for a Linux-based bridging firewall." |
pascal@4530 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4530 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4530 | 9 WEB_SITE="http://ebtables.sourceforge.net/" |
pascal@4530 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4935 | 11 TAGS="firewall" |
pascal@4530 | 12 |
pascal@4530 | 13 # Rules to configure and make the package. |
pascal@4530 | 14 compile_rules() |
pascal@4530 | 15 { |
pascal@4530 | 16 cd $src |
pascal@4530 | 17 mkdir -p _pkg/etc/rc.d/init.d/ _pkg/etc/sysconfig/ |
gokhlayeh@8797 | 18 make && make -j1 install |
pascal@4530 | 19 } |
pascal@4530 | 20 |
pascal@4530 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4530 | 22 genpkg_rules() |
pascal@4530 | 23 { |
pascal@4530 | 24 mkdir -p $fs/usr $fs/etc |
pascal@4530 | 25 cp -a $_pkg/etc/ethertypes $fs/etc |
pascal@4530 | 26 cp -a $_pkg/etc/sysconfig $fs/etc |
pascal@4530 | 27 cp -a $_pkg/usr/local/sbin $fs/usr |
pascal@4530 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@4530 | 29 } |
pascal@4530 | 30 |