wok annotate bird/receipt @ rev 23821
syslinux: merge init.exe & taziso (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 28 09:34:09 2020 +0000 (2020-05-28) |
parents | e972234146a1 |
children | c21515fa6481 |
rev | line source |
---|---|
allan316@4318 | 1 # SliTaz package receipt. |
allan316@4318 | 2 |
allan316@4318 | 3 PACKAGE="bird" |
Hans-G?nter@22539 | 4 VERSION="2.0.7" |
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 |
allan316@4318 | 18 # Rules to configure and make the package. |
allan316@4318 | 19 compile_rules() |
allan316@4318 | 20 { |
Hans-G?nter@22539 | 21 ./configure \ |
Hans-G?nter@22539 | 22 --prefix=/usr \ |
Hans-G?nter@22539 | 23 --sysconfdir=/etc \ |
Hans-G?nter@22539 | 24 --localstatedir=/var \ |
allan316@4318 | 25 $CONFIGURE_ARGS && |
Hans-G?nter@20744 | 26 make && |
Hans-G?nter@20744 | 27 make DESTDIR=$DESTDIR install |
allan316@4318 | 28 } |
allan316@4318 | 29 |
allan316@4318 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4318 | 31 genpkg_rules() |
allan316@4318 | 32 { |
allan316@4318 | 33 mkdir -p $fs/usr |
Hans-G?nter@22539 | 34 |
Hans-G?nter@22539 | 35 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@22539 | 36 cp -a $install/etc $fs |
Hans-G?nter@22539 | 37 cp -a $install/var $fs |
allan316@4318 | 38 } |