wok-next diff mongodb/receipt @ rev 13464

Up iproute2 (3.6.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 08 10:45:07 2012 +0200 (2012-10-08)
parents 93e88c5e3408
children bb009a6ef036
line diff
     1.1 --- a/mongodb/receipt	Tue May 15 13:42:25 2012 +0200
     1.2 +++ b/mongodb/receipt	Mon Oct 08 10:45:07 2012 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mongodb"
     1.7 -VERSION="2.0.5"
     1.8 +VERSION="2.0.6"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="MongoDB bridges the gap between key-value stores and traditional RDBMS systems"
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -17,6 +17,14 @@
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src
    1.16 +
    1.17 +	sed -i 's/native_directory_//' db*/*.cpp
    1.18 +	sed -i 's/native_file_//' db*/*.cpp shell/shell_utils.cpp
    1.19 +	sed -i 's/leaf()/leaf().string()/' */*.cpp
    1.20 +	sed -i 's|.*default_name_check|// &|' tools/tool.cpp db/db.cpp
    1.21 +	sed -i '/FILESYSTEM_VERSION/d' pch.h
    1.22 +	grep -rl TIME_UTC util | xargs sed -i 's/TIME_UTC/TIME_UTC_/'
    1.23 +	
    1.24  	scons all &&
    1.25  	scons --prefix=$DESTDIR/usr install
    1.26  }
    1.27 @@ -25,5 +33,5 @@
    1.28  genpkg_rules()
    1.29  {
    1.30  	mkdir -p $fs/usr
    1.31 -	cp -a $_pkg/usr/bin $fs/usr
    1.32 +	cp -a $install/usr/bin $fs/usr
    1.33  }