wok-stable view ebtables/receipt @ rev 4590

Add linmodem-slmodem
author Rohit Joshi <jozee@slitaz.org>
date Thu Dec 10 13:28:57 2009 +0000 (2009-12-10)
parents
children 31c985a0bd3d
line source
1 # SliTaz package receipt.
3 PACKAGE="ebtables"
4 VERSION="v2.0.9-1"
5 CATEGORY="network"
6 SHORT_DESC="Filtering tool for a Linux-based bridging firewall."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://ebtables.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 mkdir -p _pkg/etc/rc.d/init.d/ _pkg/etc/sysconfig/
17 make && make DESTDIR=$PWD/_pkg install
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr $fs/etc
24 cp -a $_pkg/etc/ethertypes $fs/etc
25 cp -a $_pkg/etc/sysconfig $fs/etc
26 cp -a $_pkg/usr/local/sbin $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 }