# SliTaz package receipt. PACKAGE="bird" VERSION="2.0.8" CATEGORY="network" TAGS="route routing daemon" SHORT_DESC="Internet routing daemon." MAINTAINER="allan316@gmail.com" LICENSE="GPL2" WEB_SITE="https://bird.network.cz" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="ftp://bird.network.cz/pub/$PACKAGE/$TARBALL" DEPENDS="ncurses readline" BUILD_DEPENDS="bison flex ncurses-dev readline-dev" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed '/New release/!d;s|.*New release ||;s|!.*||;q' } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders sbin cook_copy_folders etc cook_copy_folders var }