wok-next view ebtables/receipt @ rev 17593
Up: gobject-introspection 1.43.3
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Tue Feb 10 17:58:57 2015 +0000 (2015-02-10) |
parents | 029d3e9b3036 |
children | f48456621a9d |
line source
1 # SliTaz package receipt.
3 PACKAGE="ebtables"
4 VERSION="v2.0.10-4"
5 CATEGORY="network"
6 SHORT_DESC="Filtering tool for a Linux-based bridging firewall."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://ebtables.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="firewall"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/), ret = 0/), ret = ret - ret/' communication.c
19 mkdir -p $DESTDIR/etc/rc.d/init.d/ $DESTDIR/etc/sysconfig/
20 make && make DESTDIR=$DESTDIR -j1 install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr $fs/etc
27 cp -a $install/etc/ethertypes $fs/etc
28 cp -a $install/etc/sysconfig $fs/etc
29 cp -a $install/usr/local/sbin $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }