wok-current annotate mongodb/receipt @ rev 13143
emotion: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 09 19:08:45 2012 +0200 (2012-07-09) |
parents | ab72a4d08ed3 |
children | e36062a9b169 |
rev | line source |
---|---|
pascal@11225 | 1 # SliTaz package receipt. |
pascal@11225 | 2 |
pascal@11225 | 3 PACKAGE="mongodb" |
pascal@12786 | 4 VERSION="2.0.5" |
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@11225 | 20 scons all && |
pascal@12786 | 21 scons --prefix=$DESTDIR/usr install |
pascal@11225 | 22 } |
pascal@11225 | 23 |
pascal@11225 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11225 | 25 genpkg_rules() |
pascal@11225 | 26 { |
pascal@11225 | 27 mkdir -p $fs/usr |
pascal@11225 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@11225 | 29 } |