wok view ebtables/receipt @ rev 25682

Up libqcow (20240308)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 24 18:25:46 2024 +0000 (2 months ago)
parents 6b33f9da53d4
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ebtables"
4 VERSION="2.0.11"
5 CATEGORY="network"
6 TAGS="firewall"
7 SHORT_DESC="Filtering tool for a Linux-based bridging firewall."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://netfilter.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://ftp.netfilter.org/pub/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="autoconf automake libtool"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://git.netfilter.org/ebtables/ 2>/dev/null | \
21 sed '/ebtables-/!d;s|.*ebtables-||;s|<.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir -p $DESTDIR/etc/rc.d/init.d
28 mkdir -p $DESTDIR/etc/sysconfig
30 ./autogen.sh &&
31 ./configure \
32 --prefix=/usr \
33 --sysconfdir=/etc \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 mkdir -p $fs/etc
45 cp -a $install/etc/ethertypes $fs/etc
46 cp -a $install/etc/sysconfig $fs/etc
47 cp -a $install/usr/sbin $fs/usr
48 cp -a $install/usr/lib $fs/usr
49 }