wok-current view bird/receipt @ rev 12086

osmo: Make sure /usr folder exist before copying /usr/bin folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Mar 09 21:48:21 2012 -0500 (2012-03-09)
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 }