wok-next view bridge-utils/receipt @ rev 11727

Move from undigest: python-antlr python-caldav python-gdata python-vatnumber python-vobject python-webdav python-xlwt python-zsi
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 21 09:18:42 2012 +0100 (2012-02-21)
parents 3531eafd5c49
children eb8067417980
line source
1 # SliTaz package receipt.
3 PACKAGE="bridge-utils"
4 VERSION="1.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="IEEE 802.1d ethernet bridging"
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
9 WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge"
10 WGET_URL="$SF_MIRROR/bridge/$TARBALL"
11 TAGS="ethernet bridge"
13 BUILD_DEPENDS="autoconf automake"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 autoconf
20 ./configure --prefix=/usr &&
21 make && make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/sbin $fs/usr
29 }
31 # Overlap busybox
32 pre_install()
33 {
34 rm -f $1/usr/sbin/brctl
35 }
37 post_remove()
38 {
39 ln -s /bin/busybox $1/usr/sbin/brctl
40 }