wok view bridge-utils/receipt @ rev 9723

zsh: clean up
author Christopher Rogers <slaxemulator@gmail.com>
date Mon May 09 05:26:46 2011 +0000 (2011-05-09)
parents 4273e906522b
children 3531eafd5c49
line source
1 # SliTaz package receipt.
3 PACKAGE="bridge-utils"
4 VERSION="1.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="IEEE 802.1d ethernet bridging"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 BUILD_DEPENDS="autoconf automake"
10 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
11 WEB_SITE="http://www.linuxfoundation.org/en/Net:Bridge"
12 WGET_URL="$SF_MIRROR/bridge/files/${PACKAGE}-${VERSION}/${TARBALL}"
13 TAGS="ehternet bridge"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 autoconf
21 ./configure --prefix=/usr && \
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/sbin $fs/usr
30 }
32 # Overlap busybox
33 pre_install()
34 {
35 rm -f $1/usr/sbin/brctl
36 }
38 post_remove()
39 {
40 ln -s /bin/busybox /usr/sbin/brctl
41 }