wok-next annotate bird/receipt @ rev 4405
Up: snownews (1.5.12)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Tue Oct 20 20:27:48 2009 +0000 (2009-10-20) |
parents | b758a57c9b07 |
children | 70c18dfa0a4d |
rev | line source |
---|---|
allan316@4318 | 1 # SliTaz package receipt. |
allan316@4318 | 2 |
allan316@4318 | 3 PACKAGE="bird" |
allan316@4349 | 4 VERSION="1.1.4" |
allan316@4318 | 5 CATEGORY="networking" |
allan316@4318 | 6 SHORT_DESC="internet routing daemon" |
allan316@4318 | 7 MAINTAINER="allan316@gmail.com" |
allan316@4318 | 8 DEPENDS="" |
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" |
allan316@4318 | 13 |
allan316@4318 | 14 # Rules to configure and make the package. |
allan316@4318 | 15 compile_rules() |
allan316@4318 | 16 { |
allan316@4318 | 17 cd $src |
allan316@4318 | 18 ./configure \ |
allan316@4318 | 19 --prefix=/usr \ |
allan316@4318 | 20 --sysconfdir=/etc \ |
allan316@4331 | 21 --localstatedir=/var \ |
allan316@4318 | 22 $CONFIGURE_ARGS && |
allan316@4318 | 23 make && make DESTDIR=$PWD/_pkg install |
allan316@4318 | 24 } |
allan316@4318 | 25 |
allan316@4318 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4318 | 27 genpkg_rules() |
allan316@4318 | 28 { |
allan316@4318 | 29 mkdir -p $fs/usr |
allan316@4318 | 30 cp -a $_pkg/usr/sbin $fs/usr |
allan316@4318 | 31 cp -a $_pkg/etc $fs |
allan316@4331 | 32 cp -a $_pkg/var $fs |
allan316@4318 | 33 } |
allan316@4318 | 34 |