wok-next view ebtables/receipt @ rev 11205
Add from wok-undigest: libbonoboui libdesktop-agnostic libfm libgnome libgnome-keyring libgnomeui libgtop libruby
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 10:53:25 2011 +0100 (2011-11-03) |
parents | fb26dae68816 |
children | 5913b5418083 |
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 }