wok-current annotate ebtables/receipt @ rev 25601

use gcc49-lib-base for openldap-dev
author Stanislas Leduc <shann@slitaz.org>
date Fri Sep 01 12:04:33 2023 +0000 (16 months ago)
parents ead40cecdb52
children
rev   line source
pascal@4530 1 # SliTaz package receipt.
pascal@4530 2
pascal@4530 3 PACKAGE="ebtables"
Hans-G?nter@25131 4 VERSION="2.0.11"
pascal@4530 5 CATEGORY="network"
Hans-G?nter@25131 6 TAGS="firewall"
pascal@4530 7 SHORT_DESC="Filtering tool for a Linux-based bridging firewall."
pascal@4530 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15156 9 LICENSE="GPL2"
Hans-G?nter@25131 10 WEB_SITE="https://netfilter.org/"
Hans-G?nter@25131 11
pascal@4530 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@25131 13 WGET_URL="http://ftp.netfilter.org/pub/$PACKAGE/$TARBALL"
Hans-G?nter@25131 14
Hans-G?nter@25131 15 BUILD_DEPENDS="autoconf automake libtool"
pascal@4530 16
pascal@24385 17 # What is the latest version available today?
pascal@24385 18 current_version()
pascal@24385 19 {
pascal@24385 20 wget -O - https://sourceforge.net/projects/ebtables/files/ebtables/ 2>/dev/null | \
pascal@24385 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24385 22 sed '/scope="row/!d;/tar/!d;s|.*-v|v|;s|.tar.*||'
pascal@24385 23 }
pascal@24385 24
pascal@4530 25 # Rules to configure and make the package.
pascal@4530 26 compile_rules()
pascal@4530 27 {
Hans-G?nter@25132 28 mkdir -p $DESTDIR/etc/rc.d/init.d
Hans-G?nter@25132 29 mkdir -p $DESTDIR/etc/sysconfig
Hans-G?nter@25132 30
Hans-G?nter@25131 31 ./autogen.sh &&
Hans-G?nter@25131 32 ./configure \
Hans-G?nter@25131 33 --prefix=/usr \
Hans-G?nter@25131 34 --sysconfdir=/etc \
Hans-G?nter@25131 35 $CONFIGURE_ARGS &&
Hans-G?nter@25131 36 make &&
Hans-G?nter@25131 37 make install DESTDIR=$DESTDIR
pascal@4530 38 }
pascal@4530 39
pascal@4530 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4530 41 genpkg_rules()
pascal@4530 42 {
Hans-G?nter@25131 43 mkdir -p $fs/usr
Hans-G?nter@25131 44 mkdir -p $fs/etc
Hans-G?nter@25131 45
Hans-G?nter@25131 46 cp -a $install/etc/ethertypes $fs/etc
Hans-G?nter@25131 47 cp -a $install/etc/sysconfig $fs/etc
Hans-G?nter@25131 48 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@25131 49 cp -a $install/usr/lib $fs/usr
pascal@4530 50 }