wok-next view mongodb/receipt @ rev 21229
updated clamav (0.99.4 -> 0.101.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 03 16:54:38 2019 +0100 (2019-12-03) |
parents | d5aab818505e |
children | 4db68a292da4 |
line source
1 # SliTaz package receipt v2.
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="devel@slitaz.org"
8 LICENSE="GPL3 Apache"
9 WEB_SITE="https://www.mongodb.com/"
11 TARBALL="$PACKAGE-src-r$VERSION.tar.gz"
12 WGET_URL="http://downloads.mongodb.org/src/$TARBALL"
14 BUILD_DEPENDS="pcre boost-filesystem boost-thread boost-program-options \
15 spidermonkey scons2 pcre-dev boost-dev boost-filesystem \
16 boost-thread boost-program-options spidermonkey-dev"
18 compile_rules() {
19 sed -i 's/native_directory_//' db*/*.cpp
20 sed -i 's/native_file_//' db*/*.cpp shell/shell_utils.cpp
21 sed -i 's/leaf()/leaf().string()/' */*.cpp
22 sed -i 's|.*default_name_check|// &|' tools/tool.cpp db/db.cpp
23 sed -i '/FILESYSTEM_VERSION/d' pch.h
24 grep -rl TIME_UTC util | xargs sed -i 's/TIME_UTC/TIME_UTC_/'
26 scons all &&
27 scons --prefix=$install/usr install
28 }
30 genpkg_rules() {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 DEPENDS="pcre boost-filesystem boost-thread boost-program-options \
34 spidermonkey"
35 }