wok-next view mongodb/receipt @ rev 19775
Up gdk-pixbuf
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 16 01:31:57 2017 +0300 (2017-06-16) |
parents | bb009a6ef036 |
children | 33df80a31584 |
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 \
16 libboost-thread libboost-program-options 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 }