wok view bridge-utils/receipt @ rev 24915

updated monitorix (3.12.0 -> 3.14.0)
author Hans-G?nter Theisgen
date Sat Apr 09 16:53:38 2022 +0100 (2022-04-09)
parents 14e284e071e0
children 362a5a98467f
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 autoconf
27 ./configure --prefix=/usr &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/sbin $fs/usr
36 }
38 post_remove()
39 {
40 ln -s /bin/busybox "$1/usr/sbin/brctl"
41 }