wok annotate bird/receipt @ rev 15625

nut: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 08 16:00:02 2013 +0000 (2013-12-08)
parents 3e02d42f429d
children e972234146a1
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"
pascal@15579 8 LICENSE="GPL2"
allan316@4318 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
allan316@4318 10 WEB_SITE="http://bird.network.cz"
allan316@4318 11 WGET_URL="ftp://bird.network.cz/pub/$PACKAGE/$TARBALL"
jozee@4932 12 TAGS="route routing daemon"
allan316@4318 13
pankso@9816 14 DEPENDS="readline ncurses"
pankso@9816 15 BUILD_DEPENDS="flex bison readline-dev ncurses-dev"
pankso@9816 16
allan316@4318 17 # Rules to configure and make the package.
allan316@4318 18 compile_rules()
allan316@4318 19 {
allan316@4318 20 cd $src
allan316@4318 21 ./configure \
allan316@4318 22 --prefix=/usr \
allan316@4318 23 --sysconfdir=/etc \
allan316@4331 24 --localstatedir=/var \
allan316@4318 25 $CONFIGURE_ARGS &&
slaxemulator@11068 26 make && make DESTDIR=$DESTDIR install
allan316@4318 27 }
allan316@4318 28
allan316@4318 29 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@4318 30 genpkg_rules()
allan316@4318 31 {
allan316@4318 32 mkdir -p $fs/usr
pascal@15579 33 cp -a $install/usr/sbin $fs/usr
pascal@15579 34 cp -a $install/etc $fs
pascal@15579 35 cp -a $install/var $fs
allan316@4318 36 }
allan316@4318 37