wok annotate bird/receipt @ rev 5799
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 11 13:55:46 2010 +0200 (2010-07-11) |
parents | 4273e906522b |
children | 59009b1c6878 |
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" |
pascal@4998 | 8 DEPENDS="readline ncurses" |
allan316@4318 | 9 BUILD_DEPENDS="readline-dev" |
allan316@4318 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@4318 | 11 WEB_SITE="http://bird.network.cz" |
allan316@4318 | 12 WGET_URL="ftp://bird.network.cz/pub/$PACKAGE/$TARBALL" |
jozee@4932 | 13 TAGS="route routing daemon" |
allan316@4318 | 14 |
allan316@4318 | 15 # Rules to configure and make the package. |
allan316@4318 | 16 compile_rules() |
allan316@4318 | 17 { |
allan316@4318 | 18 cd $src |
allan316@4318 | 19 ./configure \ |
allan316@4318 | 20 --prefix=/usr \ |
allan316@4318 | 21 --sysconfdir=/etc \ |
allan316@4331 | 22 --localstatedir=/var \ |
allan316@4318 | 23 $CONFIGURE_ARGS && |
allan316@4318 | 24 make && make DESTDIR=$PWD/_pkg install |
allan316@4318 | 25 } |
allan316@4318 | 26 |
allan316@4318 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4318 | 28 genpkg_rules() |
allan316@4318 | 29 { |
allan316@4318 | 30 mkdir -p $fs/usr |
allan316@4318 | 31 cp -a $_pkg/usr/sbin $fs/usr |
allan316@4318 | 32 cp -a $_pkg/etc $fs |
allan316@4331 | 33 cp -a $_pkg/var $fs |
allan316@4318 | 34 } |
allan316@4318 | 35 |