wok-next annotate mongodb/receipt @ rev 15268
libxml2, libxslt: remove wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 25 11:39:47 2013 +0000 (2013-09-25) |
parents | 93e88c5e3408 |
children | bb009a6ef036 |
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@11225 | 8 DEPENDS="pcre libboost-filesystem libboost-thread libboost-program-options \ |
pascal@11225 | 9 spidermonkey" |
pascal@11225 | 10 BUILD_DEPENDS="$DEPENDS scons pcre-dev libboost-dev libboost-filesystem-dev \ |
pascal@11225 | 11 libboost-thread-dev libboost-program-options-dev spidermonkey-dev" |
pascal@11225 | 12 TARBALL="$PACKAGE-src-r${VERSION}.tar.gz" |
pascal@11225 | 13 WEB_SITE="http://www.mongodb.org/" |
pascal@11226 | 14 WGET_URL="http://downloads.mongodb.org/src/$TARBALL" |
pascal@11225 | 15 |
pascal@11225 | 16 # Rules to configure and make the package. |
pascal@11225 | 17 compile_rules() |
pascal@11225 | 18 { |
pascal@11225 | 19 cd $src |
pascal@13214 | 20 |
pascal@13214 | 21 sed -i 's/native_directory_//' db*/*.cpp |
pascal@13214 | 22 sed -i 's/native_file_//' db*/*.cpp shell/shell_utils.cpp |
pascal@13214 | 23 sed -i 's/leaf()/leaf().string()/' */*.cpp |
pascal@13214 | 24 sed -i 's|.*default_name_check|// &|' tools/tool.cpp db/db.cpp |
pascal@13214 | 25 sed -i '/FILESYSTEM_VERSION/d' pch.h |
pascal@13214 | 26 grep -rl TIME_UTC util | xargs sed -i 's/TIME_UTC/TIME_UTC_/' |
pascal@13214 | 27 |
pascal@11225 | 28 scons all && |
pascal@12786 | 29 scons --prefix=$DESTDIR/usr install |
pascal@11225 | 30 } |
pascal@11225 | 31 |
pascal@11225 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11225 | 33 genpkg_rules() |
pascal@11225 | 34 { |
pascal@11225 | 35 mkdir -p $fs/usr |
pascal@13214 | 36 cp -a $install/usr/bin $fs/usr |
pascal@11225 | 37 } |