wok-current view ebtables/receipt @ rev 20879
updated electric-fence (2.1.13 -> 2.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 24 15:20:13 2019 +0100 (2019-02-24) |
parents | 5913b5418083 |
children | d741df010f45 |
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 sed -i 's|uname -m|echo i486|' Makefile
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 }