wok-next view ebtables/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 5e01e6d2531a |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://ebtables.netfilter.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 compile_rules() {
15 sed -i 's/), ret = 0/), ret = ret - ret/' communication.c
16 mkdir -p $install/etc/rc.d/init.d/ $install/etc/sysconfig/
18 make &&
19 make DESTDIR=$install -j1 install
20 }
22 genpkg_rules() {
23 mkdir -p $fs/usr $fs/etc
24 cp -a $install/etc/ethertypes $fs/etc
25 cp -a $install/etc/sysconfig $fs/etc
26 cp -a $install/usr/local/sbin $fs/usr
27 cp -a $install/usr/lib $fs/usr
28 TAGS="firewall"
29 }