wok-6.x view mongodb/receipt @ rev 22614

updated connman, connman-dev and connman-tools (1.21 -> 1.37)
author Hans-G?nter Theisgen
date Sat Jan 11 17:07:11 2020 +0100 (2020-01-11)
parents 298467f745b6
children 08c52f1e528e
line source
1 # SliTaz package receipt.
3 PACKAGE="mongodb"
4 VERSION="2.0.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="High-performance, schema-free document-oriented database ."
7 MAINTAINER="pankso@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 DEPENDS="libboost-filesystem libboost-program-options libboost-thread \
15 pcre spidermonkey"
16 BUILD_DEPENDS="$DEPENDS libboost-dev libboost-filesystem-dev \
17 libboost-program-options-dev libboost-thread-dev pcre-dev \
18 scons spidermonkey-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 find $src -name Makefile.in | xargs sed -i 's|uname -m|echo i486|'
24 sed -i 's/native_directory_//' db*/*.cpp
25 sed -i 's/native_file_//' db*/*.cpp shell/shell_utils.cpp
26 sed -i 's/leaf()/leaf().string()/' */*.cpp
27 sed -i 's|.*default_name_check|// &|' tools/tool.cpp db/db.cpp
28 sed -i '/FILESYSTEM_VERSION/d' pch.h
29 grep -rl TIME_UTC util | xargs sed -i 's/TIME_UTC/TIME_UTC_/'
31 export LDFLAGS="$LDFLAGS -lrt"
33 scons all &&
34 scons --prefix=$DESTDIR/usr install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 }