wok-current view bridge-utils/receipt @ rev 21582

Use python-setuptools as bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 19 19:45:04 2019 +0200 (2019-05-19)
parents 86d61e110274
children 71360a13cd94
line source
1 # SliTaz package receipt.
3 PACKAGE="bridge-utils"
4 VERSION="1.6"
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.xz"
10 WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge"
11 WGET_URL="https://mirrors.edge.kernel.org/pub/linux/utils/net/bridge-utils/$TARBALL"
12 TAGS="ethernet bridge"
14 BUILD_DEPENDS="automake"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
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 $install/usr/sbin $fs/usr
29 }
31 post_remove()
32 {
33 ln -s /bin/busybox "$1/usr/sbin/brctl"
34 }