wok-6.x view mongodb/receipt @ rev 20839
updated dkms (2.1.1,2 -> 2.6.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 20 15:39:32 2019 +0100 (2019-02-20) |
parents | bb009a6ef036 |
children | 298467f745b6 |
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 find $src -name Makefile.in \; | xargs sed -i 's|uname -m|echo i486|'
22 sed -i 's/native_directory_//' db*/*.cpp
23 sed -i 's/native_file_//' db*/*.cpp shell/shell_utils.cpp
24 sed -i 's/leaf()/leaf().string()/' */*.cpp
25 sed -i 's|.*default_name_check|// &|' tools/tool.cpp db/db.cpp
26 sed -i '/FILESYSTEM_VERSION/d' pch.h
27 grep -rl TIME_UTC util | xargs sed -i 's/TIME_UTC/TIME_UTC_/'
29 scons all &&
30 scons --prefix=$DESTDIR/usr install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }