wok-next annotate mongodb/receipt @ rev 21726
updated firefox-official (77.0 -> 81.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Sep 27 14:34:31 2020 +0100 (2020-09-27) |
parents | d457c4e37c1b |
children |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
pascal@11225 | 2 |
pascal@11225 | 3 PACKAGE="mongodb" |
Hans-G?nter@21373 | 4 VERSION="4.2.5" |
pascal@11225 | 5 CATEGORY="system-tools" |
pascal@11225 | 6 SHORT_DESC="MongoDB bridges the gap between key-value stores and traditional RDBMS systems" |
Hans-G?nter@21373 | 7 MAINTAINER="maintainer@slitaz.org" |
pascal@15583 | 8 LICENSE="GPL3 Apache" |
al@21041 | 9 WEB_SITE="https://www.mongodb.com/" |
al@21020 | 10 |
al@21020 | 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@21373 | 14 BUILD_DEPENDS="boost-dev boost-filesystem boost-program-options boost-thread |
Hans-G?nter@21373 | 15 pcre pcre-dev scons2 spidermonkey spidermonkey-dev" |
pascal@11225 | 16 |
Hans-G?nter@21373 | 17 compile_rules() |
Hans-G?nter@21373 | 18 { |
pascal@13214 | 19 sed -i 's/native_directory_//' db*/*.cpp |
pascal@13214 | 20 sed -i 's/native_file_//' db*/*.cpp shell/shell_utils.cpp |
pascal@13214 | 21 sed -i 's/leaf()/leaf().string()/' */*.cpp |
pascal@13214 | 22 sed -i 's|.*default_name_check|// &|' tools/tool.cpp db/db.cpp |
pascal@13214 | 23 sed -i '/FILESYSTEM_VERSION/d' pch.h |
pascal@13214 | 24 grep -rl TIME_UTC util | xargs sed -i 's/TIME_UTC/TIME_UTC_/' |
al@21020 | 25 |
pascal@11225 | 26 scons all && |
al@21020 | 27 scons --prefix=$install/usr install |
pascal@11225 | 28 } |
pascal@11225 | 29 |
Hans-G?nter@21373 | 30 genpkg_rules() |
Hans-G?nter@21373 | 31 { |
pascal@11225 | 32 mkdir -p $fs/usr |
Hans-G?nter@21373 | 33 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21373 | 34 DEPENDS="boost-filesystem boost-program-options boost-thread |
Hans-G?nter@21373 | 35 pcre spidermonkey" |
pascal@11225 | 36 } |