wok-stable view ebtables/receipt @ rev 9754
libusb-compat: fix BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 11 03:37:17 2011 +0200 (2011-05-11) |
parents | fb26dae68816 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ebtables"
4 VERSION="v2.0.9-1"
5 CATEGORY="network"
6 SHORT_DESC="Filtering tool for a Linux-based bridging firewall."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://ebtables.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="firewall"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 mkdir -p $DESTDIR/etc/rc.d/init.d/ $DESTDIR/etc/sysconfig/
18 make && make DESTDIR=$DESTDIR -j1 install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr $fs/etc
25 cp -a $_pkg/etc/ethertypes $fs/etc
26 cp -a $_pkg/etc/sysconfig $fs/etc
27 cp -a $_pkg/usr/local/sbin $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 }