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

linphone: update BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 18:02:13 2011 +0100 (2011-03-03)
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 }