wok-4.x view ebtables/receipt @ rev 11907

xcb-util fixed symlinks. Was using absolute paths
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Feb 29 12:26:28 2012 -0800 (2012-02-29)
parents fb26dae68816
children
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"
11 TAGS="firewall"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 mkdir -p $DESTDIR/etc/rc.d/init.d/ $DESTDIR/etc/sysconfig/
18 make && make DESTDIR=$DESTDIR -j1 install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr $fs/etc
25 cp -a $_pkg/etc/ethertypes $fs/etc
26 cp -a $_pkg/etc/sysconfig $fs/etc
27 cp -a $_pkg/usr/local/sbin $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 }