wok-6.x annotate mongodb/receipt @ rev 16045
go: update receipt
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Mar 09 17:42:33 2014 +0100 (2014-03-09) |
parents | e36062a9b169 |
children | 3705d68ed8f3 |
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@11225 | 21 cd $src |
pascal@13214 | 22 |
pascal@13214 | 23 sed -i 's/native_directory_//' db*/*.cpp |
pascal@13214 | 24 sed -i 's/native_file_//' db*/*.cpp shell/shell_utils.cpp |
pascal@13214 | 25 sed -i 's/leaf()/leaf().string()/' */*.cpp |
pascal@13214 | 26 sed -i 's|.*default_name_check|// &|' tools/tool.cpp db/db.cpp |
pascal@13214 | 27 sed -i '/FILESYSTEM_VERSION/d' pch.h |
pascal@13214 | 28 grep -rl TIME_UTC util | xargs sed -i 's/TIME_UTC/TIME_UTC_/' |
pascal@13214 | 29 |
pascal@11225 | 30 scons all && |
pascal@12786 | 31 scons --prefix=$DESTDIR/usr install |
pascal@11225 | 32 } |
pascal@11225 | 33 |
pascal@11225 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11225 | 35 genpkg_rules() |
pascal@11225 | 36 { |
pascal@11225 | 37 mkdir -p $fs/usr |
pascal@13214 | 38 cp -a $install/usr/bin $fs/usr |
pascal@11225 | 39 } |