wok annotate mongodb/receipt @ rev 19599
Up: pyopenssl (16.2.0)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Jan 01 18:09:26 2017 +0000 (2017-01-01) |
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 } |