wok-6.x annotate bridge-utils/receipt @ rev 15355
notecase: add CFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 30 20:23:31 2013 +0000 (2013-09-30) |
parents | 3531eafd5c49 |
children | eb8067417980 |
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" |
erjo@4484 | 8 TARBALL="${PACKAGE}-${VERSION}.tar.gz" |
slaxemulator@11069 | 9 WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge" |
slaxemulator@11069 | 10 WGET_URL="$SF_MIRROR/bridge/$TARBALL" |
slaxemulator@11069 | 11 TAGS="ethernet bridge" |
erjo@4484 | 12 |
pankso@9774 | 13 BUILD_DEPENDS="autoconf automake" |
erjo@4484 | 14 |
erjo@4484 | 15 # Rules to configure and make the package. |
erjo@4484 | 16 compile_rules() |
erjo@4484 | 17 { |
erjo@4484 | 18 cd $src |
erjo@4484 | 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 |
erjo@4484 | 28 cp -a $_pkg/usr/sbin $fs/usr |
erjo@4484 | 29 } |
erjo@4484 | 30 |
pascal@8880 | 31 # Overlap busybox |
pascal@8880 | 32 pre_install() |
pascal@8880 | 33 { |
pascal@8880 | 34 rm -f $1/usr/sbin/brctl |
pascal@8880 | 35 } |
pascal@8880 | 36 |
pascal@8880 | 37 post_remove() |
pascal@8880 | 38 { |
slaxemulator@11069 | 39 ln -s /bin/busybox $1/usr/sbin/brctl |
pascal@8880 | 40 } |