wok-next view ebtables/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 5913b5418083 |
children | d5aab818505e |
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.sourceforge.net/"
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 $DESTDIR/etc/rc.d/init.d/ $DESTDIR/etc/sysconfig/
18 make &&
19 make DESTDIR=$DESTDIR -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 }