wok view mongodb/receipt @ rev 23087
updated libmicrohttpd and libmicrohttpd-dev (0.9.63 -> 0.9.70)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 11 09:16:20 2020 +0100 (2020-03-11) |
parents | 9ac318d8655f |
children | 241fb98cab1c |
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 sed -i 's|/usr/lib32"\] )|&\n\tenv.Append( LIBS=["rt"] )|' SConstruct
33 scons --32 all &&
34 scons --32 --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 }