wok-4.x view ebtables/receipt @ rev 8557
imported patch get/libdaq
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 22:57:56 2011 +0100 (2011-02-13) |
parents | 7b93367385e7 |
children | fb26dae68816 |
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 _pkg/etc/rc.d/init.d/ _pkg/etc/sysconfig/
18 make && make DESTDIR=$PWD/_pkg 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 }