wok view ebtables/receipt @ rev 21549

Add LXSession 0.4.6.* as lxsession046 (latest LXSession 0.4.* is 0.4.9.* and it don't compile anyway due to the old libgee; and latest LXSession 0.5.* (just lxsession) has the major drawbacks)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 07 11:25:44 2019 +0300 (2019-05-07)
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 }