wok-current annotate mongodb/receipt @ rev 22359
mongodb: modified find command
| author | Hans-Günter Theisgen |
|---|---|
| date | Thu Nov 21 08:45:04 2019 +0100 (2019-11-21) |
| 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 } |