wok-current view mongodb/receipt @ rev 17084
tramys-server: change DATADIR, fix typo.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Aug 24 23:25:23 2014 +0300 (2014-08-24) |
parents | e36062a9b169 |
children | 3705d68ed8f3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mongodb"
4 VERSION="2.0.6"
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 LICENSE="GPL3 Apache"
9 TARBALL="$PACKAGE-src-r${VERSION}.tar.gz"
10 WEB_SITE="http://www.mongodb.org/"
11 WGET_URL="http://downloads.mongodb.org/src/$TARBALL"
13 DEPENDS="pcre libboost-filesystem libboost-thread libboost-program-options \
14 spidermonkey"
15 BUILD_DEPENDS="$DEPENDS scons pcre-dev libboost-dev libboost-filesystem-dev \
16 libboost-thread-dev libboost-program-options-dev spidermonkey-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
23 sed -i 's/native_directory_//' db*/*.cpp
24 sed -i 's/native_file_//' db*/*.cpp shell/shell_utils.cpp
25 sed -i 's/leaf()/leaf().string()/' */*.cpp
26 sed -i 's|.*default_name_check|// &|' tools/tool.cpp db/db.cpp
27 sed -i '/FILESYSTEM_VERSION/d' pch.h
28 grep -rl TIME_UTC util | xargs sed -i 's/TIME_UTC/TIME_UTC_/'
30 scons all &&
31 scons --prefix=$DESTDIR/usr install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 }