wok view ebtables/receipt @ rev 25131

updated ebtables (2.0.10-4 -> 2.0.11)
author Hans-G?nter Theisgen
date Wed Jun 29 07:20:53 2022 +0100 (22 months ago)
parents 640a2eba2511
children 96f6808d6c09
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://sourceforge.net/projects/ebtables/files/ebtables/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;/tar/!d;s|.*-v|v|;s|.tar.*||'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh &&
29 ./configure \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 mkdir -p $fs/etc
43 cp -a $install/etc/ethertypes $fs/etc
44 cp -a $install/etc/sysconfig $fs/etc
45 cp -a $install/usr/sbin $fs/usr
46 cp -a $install/usr/lib $fs/usr
47 }