wok-next view mongodb/receipt @ rev 17912
Add python-unidecode & python-unicodecsv
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 08 15:29:10 2015 +0200 (2015-04-08) |
parents | e36062a9b169 |
children | 2f3aba6cc31e |
line source
1 # SliTaz package receipt.
3 PACKAGE="mongodb"
4 VERSION="2.0.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="MongoDB bridges the gap between key-value stores and traditional RDBMS systems"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3 Apache"
9 TARBALL="$PACKAGE-src-r${VERSION}.tar.gz"
10 WEB_SITE="http://www.mongodb.org/"
11 WGET_URL="http://downloads.mongodb.org/src/$TARBALL"
13 DEPENDS="pcre libboost-filesystem libboost-thread libboost-program-options \
14 spidermonkey"
15 BUILD_DEPENDS="$DEPENDS scons pcre-dev libboost-dev libboost-filesystem-dev \
16 libboost-thread-dev libboost-program-options-dev spidermonkey-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
23 sed -i 's/native_directory_//' db*/*.cpp
24 sed -i 's/native_file_//' db*/*.cpp shell/shell_utils.cpp
25 sed -i 's/leaf()/leaf().string()/' */*.cpp
26 sed -i 's|.*default_name_check|// &|' tools/tool.cpp db/db.cpp
27 sed -i '/FILESYSTEM_VERSION/d' pch.h
28 grep -rl TIME_UTC util | xargs sed -i 's/TIME_UTC/TIME_UTC_/'
30 scons all &&
31 scons --prefix=$DESTDIR/usr install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 }