wok annotate mongodb/receipt @ rev 21292
updated libsdl-net and libsdl-net-dev (1.2.7 -> 1.2.8)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 16 17:40:27 2019 +0100 (2019-04-16) |
parents | bb009a6ef036 |
children | 298467f745b6 |
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" |
pascal@11225 | 6 SHORT_DESC="MongoDB bridges the gap between key-value stores and traditional RDBMS systems" |
pascal@11225 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15583 | 8 LICENSE="GPL3 Apache" |
pascal@15583 | 9 TARBALL="$PACKAGE-src-r${VERSION}.tar.gz" |
pascal@15583 | 10 WEB_SITE="http://www.mongodb.org/" |
pascal@15583 | 11 WGET_URL="http://downloads.mongodb.org/src/$TARBALL" |
pascal@15583 | 12 |
pascal@11225 | 13 DEPENDS="pcre libboost-filesystem libboost-thread libboost-program-options \ |
pascal@11225 | 14 spidermonkey" |
pascal@11225 | 15 BUILD_DEPENDS="$DEPENDS scons pcre-dev libboost-dev libboost-filesystem-dev \ |
pascal@11225 | 16 libboost-thread-dev libboost-program-options-dev spidermonkey-dev" |
pascal@11225 | 17 |
pascal@11225 | 18 # Rules to configure and make the package. |
pascal@11225 | 19 compile_rules() |
pascal@11225 | 20 { |
pascal@20212 | 21 find $src -name Makefile.in \; | xargs sed -i 's|uname -m|echo i486|' |
pascal@13214 | 22 sed -i 's/native_directory_//' db*/*.cpp |
pascal@13214 | 23 sed -i 's/native_file_//' db*/*.cpp shell/shell_utils.cpp |
pascal@13214 | 24 sed -i 's/leaf()/leaf().string()/' */*.cpp |
pascal@13214 | 25 sed -i 's|.*default_name_check|// &|' tools/tool.cpp db/db.cpp |
pascal@13214 | 26 sed -i '/FILESYSTEM_VERSION/d' pch.h |
pascal@13214 | 27 grep -rl TIME_UTC util | xargs sed -i 's/TIME_UTC/TIME_UTC_/' |
pascal@13214 | 28 |
pascal@11225 | 29 scons all && |
pascal@12786 | 30 scons --prefix=$DESTDIR/usr install |
pascal@11225 | 31 } |
pascal@11225 | 32 |
pascal@11225 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11225 | 34 genpkg_rules() |
pascal@11225 | 35 { |
pascal@11225 | 36 mkdir -p $fs/usr |
pascal@13214 | 37 cp -a $install/usr/bin $fs/usr |
pascal@11225 | 38 } |