wok-current view ebtables/receipt @ rev 23973
Up openconnect (8.10), openexr (2.5.3), openldap (2.4.55), openssh (8.4p1), openvswitch (2.14.0), phpmyadmin (5.0.4), rust (1.47.0), shellinabox (2.21)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 28 12:04:50 2020 +0000 (2020-10-28) |
parents | 3705d68ed8f3 |
children | 640a2eba2511 |
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="https://netfilter.org/"
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 }