wok annotate bird/receipt @ rev 12795
slitaz-base-files: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 18 09:43:02 2012 +0200 (2012-05-18) |
parents | 82bb46cbb7cc |
children | eb8067417980 |
rev | line source |
---|---|
allan316@4318 | 1 # SliTaz package receipt. |
allan316@4318 | 2 |
allan316@4318 | 3 PACKAGE="bird" |
samuel_trassare@11865 | 4 VERSION="1.3.6" |
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 && |
slaxemulator@11068 | 25 make && make DESTDIR=$DESTDIR 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 |