wok annotate mongodb/receipt @ rev 22385

linux-zram: fix 2G+ overflow (bug 230)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 28 10:13:55 2019 +0100 (2019-11-28)
parents 298467f745b6
children 08c52f1e528e
rev   line source
pascal@11225 1 # SliTaz package receipt.
pascal@11225 2
pascal@11225 3 PACKAGE="mongodb"
pascal@13214 4 VERSION="2.0.6"
pascal@11225 5 CATEGORY="system-tools"
Hans-G?nter@22355 6 SHORT_DESC="High-performance, schema-free document-oriented database ."
pascal@11225 7 MAINTAINER="pankso@slitaz.org"
pascal@15583 8 LICENSE="GPL3 Apache"
Hans-G?nter@22355 9 WEB_SITE="https://www.mongodb.com/"
Hans-G?nter@22355 10
pascal@15583 11 TARBALL="$PACKAGE-src-r${VERSION}.tar.gz"
pascal@15583 12 WGET_URL="http://downloads.mongodb.org/src/$TARBALL"
pascal@15583 13
Hans-G?nter@22355 14 DEPENDS="libboost-filesystem libboost-program-options libboost-thread \
Hans-G?nter@22355 15 pcre spidermonkey"
Hans-G?nter@22355 16 BUILD_DEPENDS="$DEPENDS libboost-dev libboost-filesystem-dev \
Hans-G?nter@22355 17 libboost-program-options-dev libboost-thread-dev pcre-dev \
Hans-G?nter@22355 18 scons spidermonkey-dev"
pascal@11225 19
pascal@11225 20 # Rules to configure and make the package.
pascal@11225 21 compile_rules()
pascal@11225 22 {
Hans-G?nter@22359 23 find $src -name Makefile.in | xargs sed -i 's|uname -m|echo i486|'
pascal@13214 24 sed -i 's/native_directory_//' db*/*.cpp
pascal@13214 25 sed -i 's/native_file_//' db*/*.cpp shell/shell_utils.cpp
pascal@13214 26 sed -i 's/leaf()/leaf().string()/' */*.cpp
pascal@13214 27 sed -i 's|.*default_name_check|// &|' tools/tool.cpp db/db.cpp
pascal@13214 28 sed -i '/FILESYSTEM_VERSION/d' pch.h
pascal@13214 29 grep -rl TIME_UTC util | xargs sed -i 's/TIME_UTC/TIME_UTC_/'
Hans-G?nter@22355 30
Hans-G?nter@22355 31 export LDFLAGS="$LDFLAGS -lrt"
Hans-G?nter@22355 32
pascal@11225 33 scons all &&
pascal@12786 34 scons --prefix=$DESTDIR/usr install
pascal@11225 35 }
pascal@11225 36
pascal@11225 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11225 38 genpkg_rules()
pascal@11225 39 {
pascal@11225 40 mkdir -p $fs/usr
pascal@13214 41 cp -a $install/usr/bin $fs/usr
pascal@11225 42 }