wok-next view mongodb/receipt @ rev 21410

updated polkit (0.113 -> 0.116)
author Hans-G?nter Theisgen
date Fri Apr 24 17:53:05 2020 +0100 (2020-04-24)
parents d457c4e37c1b
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mongodb"
4 VERSION="4.2.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="MongoDB bridges the gap between key-value stores and traditional RDBMS systems"
7 MAINTAINER="maintainer@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="boost-dev boost-filesystem boost-program-options boost-thread
15 pcre pcre-dev scons2 spidermonkey spidermonkey-dev"
17 compile_rules()
18 {
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 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 DEPENDS="boost-filesystem boost-program-options boost-thread
35 pcre spidermonkey"
36 }