wok-current view bird/receipt @ rev 15185
linux-source: add mirror src fallback
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 23 18:59:48 2013 +0000 (2013-08-23) |
parents | 82bb46cbb7cc |
children | eb8067417980 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bird"
4 VERSION="1.3.6"
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=$DESTDIR 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 }