wok annotate bridge-utils/receipt @ rev 16114

ARM: sucess cross compiling slim
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 22 20:15:59 2014 +0100 (2014-03-22)
parents 0ddab69c0096
children 86d61e110274
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"
erjo@4484 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
pankso@9774 14 BUILD_DEPENDS="autoconf automake"
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
pankso@9774 21 ./configure --prefix=/usr &&
pankso@9774 22 make && make DESTDIR=$DESTDIR 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
pascal@15579 29 cp -a $install/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 {
slaxemulator@11069 40 ln -s /bin/busybox $1/usr/sbin/brctl
pascal@8880 41 }