wok-current annotate bridge-utils/receipt @ rev 20568
Up bridge-utils (1.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 13 00:21:59 2018 +0100 (2018-12-13) |
parents | 86d61e110274 |
children | 71360a13cd94 |
rev | line source |
---|---|
erjo@4484 | 1 # SliTaz package receipt. |
erjo@4484 | 2 |
erjo@4484 | 3 PACKAGE="bridge-utils" |
pascal@20568 | 4 VERSION="1.6" |
erjo@4484 | 5 CATEGORY="system-tools" |
jozee@4932 | 6 SHORT_DESC="IEEE 802.1d ethernet bridging" |
erjo@4484 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
pascal@20568 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
slaxemulator@11069 | 10 WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge" |
pascal@20568 | 11 WGET_URL="https://mirrors.edge.kernel.org/pub/linux/utils/net/bridge-utils/$TARBALL" |
slaxemulator@11069 | 12 TAGS="ethernet bridge" |
erjo@4484 | 13 |
al@18673 | 14 BUILD_DEPENDS="automake" |
erjo@4484 | 15 |
erjo@4484 | 16 # Rules to configure and make the package. |
erjo@4484 | 17 compile_rules() |
erjo@4484 | 18 { |
al@18673 | 19 autoconf |
pankso@9774 | 20 ./configure --prefix=/usr && |
pankso@9774 | 21 make && make DESTDIR=$DESTDIR install |
erjo@4484 | 22 } |
erjo@4484 | 23 |
erjo@4484 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4484 | 25 genpkg_rules() |
erjo@4484 | 26 { |
erjo@4484 | 27 mkdir -p $fs/usr |
pascal@15579 | 28 cp -a $install/usr/sbin $fs/usr |
erjo@4484 | 29 } |
erjo@4484 | 30 |
pascal@8880 | 31 post_remove() |
pascal@8880 | 32 { |
al@18673 | 33 ln -s /bin/busybox "$1/usr/sbin/brctl" |
pascal@8880 | 34 } |