wok-next view bridge-utils/receipt @ rev 16539
Up: slitaz-arm-adm (0.6)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 28 23:41:11 2014 +0200 (2014-04-28) |
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 }