wok-stable view bird/receipt @ rev 10046

xpad: Add CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 03:43:59 2011 +0000 (2011-05-20)
parents 59009b1c6878
children 82bb46cbb7cc
line source
1 # SliTaz package receipt.
3 PACKAGE="bird"
4 VERSION="1.1.5"
5 CATEGORY="network"
6 SHORT_DESC="internet routing daemon"
7 MAINTAINER="allan316@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://bird.network.cz"
10 WGET_URL="ftp://bird.network.cz/pub/$PACKAGE/$TARBALL"
11 TAGS="route routing daemon"
13 DEPENDS="readline ncurses"
14 BUILD_DEPENDS="flex bison readline-dev ncurses-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/sbin $fs/usr
33 cp -a $_pkg/etc $fs
34 cp -a $_pkg/var $fs
35 }