wok view ebtables/receipt @ rev 19880

obexftp: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 02 17:28:17 2017 +0200 (2017-04-02)
parents 029d3e9b3036
children 3705d68ed8f3
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 }