wok-4.x annotate bridge-utils/receipt @ rev 9357

Up: evince to 2.32.0. Building with -j1 fixes it.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Mar 19 23:30:22 2011 +0000 (2011-03-19)
parents 4273e906522b
children 3531eafd5c49
rev   line source
erjo@4484 1 # SliTaz package receipt.
erjo@4484 2
erjo@4484 3 PACKAGE="bridge-utils"
erjo@4484 4 VERSION="1.4"
erjo@4484 5 CATEGORY="system-tools"
jozee@4932 6 SHORT_DESC="IEEE 802.1d ethernet bridging"
erjo@4484 7 MAINTAINER="erjo@slitaz.org"
erjo@4484 8 DEPENDS=""
erjo@4484 9 BUILD_DEPENDS="autoconf automake"
erjo@4484 10 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
erjo@4484 11 WEB_SITE="http://www.linuxfoundation.org/en/Net:Bridge"
erjo@4484 12 WGET_URL="$SF_MIRROR/bridge/files/${PACKAGE}-${VERSION}/${TARBALL}"
jozee@4932 13 TAGS="ehternet bridge"
erjo@4484 14
erjo@4484 15
erjo@4484 16 # Rules to configure and make the package.
erjo@4484 17 compile_rules()
erjo@4484 18 {
erjo@4484 19 cd $src
erjo@4484 20 autoconf
erjo@4484 21 ./configure --prefix=/usr && \
erjo@4484 22 make && make DESTDIR=$PWD/_pkg install
erjo@4484 23 }
erjo@4484 24
erjo@4484 25 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4484 26 genpkg_rules()
erjo@4484 27 {
erjo@4484 28 mkdir -p $fs/usr
erjo@4484 29 cp -a $_pkg/usr/sbin $fs/usr
erjo@4484 30 }
erjo@4484 31
pascal@8880 32 # Overlap busybox
pascal@8880 33 pre_install()
pascal@8880 34 {
pascal@8880 35 rm -f $1/usr/sbin/brctl
pascal@8880 36 }
pascal@8880 37
pascal@8880 38 post_remove()
pascal@8880 39 {
pascal@8880 40 ln -s /bin/busybox /usr/sbin/brctl
pascal@8880 41 }
pascal@8880 42