wok view bridge-utils/receipt @ rev 15678

Up dropbear (2013.62)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 20 12:18:07 2013 +0100 (2013-12-20)
parents 0ddab69c0096
children 86d61e110274
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 LICENSE="GPL2"
9 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
10 WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge"
11 WGET_URL="$SF_MIRROR/bridge/$TARBALL"
12 TAGS="ethernet bridge"
14 BUILD_DEPENDS="autoconf automake"
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=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/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 $1/usr/sbin/brctl
41 }