wok-6.x annotate bridge-utils/receipt @ rev 18673

Up tazpkg(884); avant-window-navigator: update receipt; continue with pre/post... functions
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 05 16:17:00 2015 +0200 (2015-12-05)
parents eb8067417980
children 14e284e071e0
rev   line source
erjo@4484 1 # SliTaz package receipt.
erjo@4484 2
erjo@4484 3 PACKAGE="bridge-utils"
slaxemulator@11069 4 VERSION="1.5"
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"
al@18673 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@11069 10 WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge"
slaxemulator@11069 11 WGET_URL="$SF_MIRROR/bridge/$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 }