wok-stable annotate mongodb/receipt @ rev 11391
Compat: replace exit by return in slitaz-toolchain recipe.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 10 05:10:43 2011 +0100 (2011-12-10) |
parents | 6d24611d6736 |
children |
rev | line source |
---|---|
pascal@11225 | 1 # SliTaz package receipt. |
pascal@11225 | 2 |
pascal@11225 | 3 PACKAGE="mongodb" |
pascal@11225 | 4 VERSION="1.6.3" |
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 mv $PACKAGE-src-r${VERSION} $PACKAGE-$VERSION 2> /dev/null |
pascal@11225 | 20 cd $src |
pascal@11225 | 21 scons all && |
pascal@11225 | 22 scons --prefix=$PWD/_pkg/usr install |
pascal@11225 | 23 } |
pascal@11225 | 24 |
pascal@11225 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11225 | 26 genpkg_rules() |
pascal@11225 | 27 { |
pascal@11225 | 28 mkdir -p $fs/usr |
pascal@11225 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@11225 | 30 } |