wok-stable view mongodb/receipt @ rev 11941
c_icap: Add initscript & fix configfile
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Mar 01 07:01:35 2012 +0100 (2012-03-01) |
parents | 6d24611d6736 |
children |
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 }