wok-next view mongodb/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a244e109372e
children d457c4e37c1b
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="http://www.mongodb.org/"
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 }