wok view mongodb/receipt @ rev 12785
dia: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 15 11:32:14 2012 +0200 (2012-05-15) |
parents | 6d24611d6736 |
children | 93e88c5e3408 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mongodb"
4 VERSION="1.6.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="MongoDB bridges the gap between key-value stores and traditional RDBMS systems"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="pcre libboost-filesystem libboost-thread libboost-program-options \
9 spidermonkey"
10 BUILD_DEPENDS="$DEPENDS scons pcre-dev libboost-dev libboost-filesystem-dev \
11 libboost-thread-dev libboost-program-options-dev spidermonkey-dev"
12 TARBALL="$PACKAGE-src-r${VERSION}.tar.gz"
13 WEB_SITE="http://www.mongodb.org/"
14 WGET_URL="http://downloads.mongodb.org/src/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mv $PACKAGE-src-r${VERSION} $PACKAGE-$VERSION 2> /dev/null
20 cd $src
21 scons all &&
22 scons --prefix=$PWD/_pkg/usr install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 }