wok-stable annotate bird/receipt @ rev 10046
xpad: Add CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 03:43:59 2011 +0000 (2011-05-20) |
parents | 59009b1c6878 |
children | 82bb46cbb7cc |
rev | line source |
---|---|
allan316@4318 | 1 # SliTaz package receipt. |
allan316@4318 | 2 |
allan316@4318 | 3 PACKAGE="bird" |
allan316@4440 | 4 VERSION="1.1.5" |
pankso@4801 | 5 CATEGORY="network" |
allan316@4318 | 6 SHORT_DESC="internet routing daemon" |
allan316@4318 | 7 MAINTAINER="allan316@gmail.com" |
allan316@4318 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@4318 | 9 WEB_SITE="http://bird.network.cz" |
allan316@4318 | 10 WGET_URL="ftp://bird.network.cz/pub/$PACKAGE/$TARBALL" |
jozee@4932 | 11 TAGS="route routing daemon" |
allan316@4318 | 12 |
pankso@9816 | 13 DEPENDS="readline ncurses" |
pankso@9816 | 14 BUILD_DEPENDS="flex bison readline-dev ncurses-dev" |
pankso@9816 | 15 |
allan316@4318 | 16 # Rules to configure and make the package. |
allan316@4318 | 17 compile_rules() |
allan316@4318 | 18 { |
allan316@4318 | 19 cd $src |
allan316@4318 | 20 ./configure \ |
allan316@4318 | 21 --prefix=/usr \ |
allan316@4318 | 22 --sysconfdir=/etc \ |
allan316@4331 | 23 --localstatedir=/var \ |
allan316@4318 | 24 $CONFIGURE_ARGS && |
allan316@4318 | 25 make && make DESTDIR=$PWD/_pkg install |
allan316@4318 | 26 } |
allan316@4318 | 27 |
allan316@4318 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4318 | 29 genpkg_rules() |
allan316@4318 | 30 { |
allan316@4318 | 31 mkdir -p $fs/usr |
allan316@4318 | 32 cp -a $_pkg/usr/sbin $fs/usr |
allan316@4318 | 33 cp -a $_pkg/etc $fs |
allan316@4331 | 34 cp -a $_pkg/var $fs |
allan316@4318 | 35 } |
allan316@4318 | 36 |