wok annotate bird/receipt @ rev 24918
updated moosefs (3.0.111 -> 3.0.116)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 10 06:58:04 2022 +0100 (2022-04-10) |
parents | c21515fa6481 |
children |
rev | line source |
---|---|
allan316@4318 | 1 # SliTaz package receipt. |
allan316@4318 | 2 |
allan316@4318 | 3 PACKAGE="bird" |
Hans-G?nter@24371 | 4 VERSION="2.0.8" |
pankso@4801 | 5 CATEGORY="network" |
Hans-G?nter@20744 | 6 TAGS="route routing daemon" |
Hans-G?nter@22539 | 7 SHORT_DESC="Internet routing daemon." |
allan316@4318 | 8 MAINTAINER="allan316@gmail.com" |
pascal@15579 | 9 LICENSE="GPL2" |
Hans-G?nter@22539 | 10 WEB_SITE="https://bird.network.cz" |
Hans-G?nter@20744 | 11 |
allan316@4318 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@4318 | 13 WGET_URL="ftp://bird.network.cz/pub/$PACKAGE/$TARBALL" |
allan316@4318 | 14 |
Hans-G?nter@22539 | 15 DEPENDS="ncurses readline" |
Hans-G?nter@22539 | 16 BUILD_DEPENDS="bison flex ncurses-dev readline-dev" |
pankso@9816 | 17 |
pascal@24373 | 18 # What is the latest version available today? |
pascal@24373 | 19 current_version() |
pascal@24373 | 20 { |
pascal@24373 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24373 | 22 sed '/New release/!d;s|.*New release ||;s|!.*||;q' |
pascal@24373 | 23 } |
pascal@24373 | 24 |
allan316@4318 | 25 # Rules to configure and make the package. |
allan316@4318 | 26 compile_rules() |
allan316@4318 | 27 { |
Hans-G?nter@22539 | 28 ./configure \ |
Hans-G?nter@22539 | 29 --prefix=/usr \ |
Hans-G?nter@22539 | 30 --sysconfdir=/etc \ |
Hans-G?nter@22539 | 31 --localstatedir=/var \ |
allan316@4318 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@20744 | 33 make && |
Hans-G?nter@20744 | 34 make DESTDIR=$DESTDIR install |
allan316@4318 | 35 } |
allan316@4318 | 36 |
allan316@4318 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4318 | 38 genpkg_rules() |
allan316@4318 | 39 { |
Hans-G?nter@24371 | 40 cook_copy_folders sbin |
Hans-G?nter@24371 | 41 cook_copy_folders etc |
Hans-G?nter@24371 | 42 cook_copy_folders var |
allan316@4318 | 43 } |