diff options
author | Miguel De Anda <miguel@thedeanda.com> | 2015-05-02 14:42:03 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-02 14:42:03 +0700 |
commit | bb1c6c0e89f77b535f157b685e57ff263ca89ed5 (patch) | |
tree | b4e2cd1a372a5abed0f0d38b97ef76c5d5e9a2d3 /system/mongodb | |
parent | a9f41d414bb6b6f9acf6ffd5f2ffda0773fa3288 (diff) |
system/mongodb: Updated for version 3.0.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/mongodb')
-rw-r--r-- | system/mongodb/mongodb.SlackBuild | 17 | ||||
-rw-r--r-- | system/mongodb/mongodb.info | 12 |
2 files changed, 16 insertions, 13 deletions
diff --git a/system/mongodb/mongodb.SlackBuild b/system/mongodb/mongodb.SlackBuild index a7591c29af734..82092a89c2c21 100644 --- a/system/mongodb/mongodb.SlackBuild +++ b/system/mongodb/mongodb.SlackBuild @@ -4,7 +4,7 @@ # Home Page http://www.mongodb.org PRGNAM="mongodb" -VERSION=${VERSION:-2.6.7} +VERSION=${VERSION:-3.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -24,6 +24,9 @@ OUTPUT=${OUTPUT:-/tmp} MONGO_USER=${MONGO_USER:-285} MONGO_GROUP=${MONGO_GROUP:-285} +SRC_FILE=$PRGNAM-src-r$VERSION.tar.gz +SRC_FLDR=$PRGNAM-src-r$VERSION + set -e # Bail if user or group isn't valid on your system @@ -50,11 +53,11 @@ EOF exit fi -rm -fr $TMP/$PRGNAM-$VERSION $PKG +rm -fr $TMP/$SRC_FLDR $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -tar xvf $CWD/$PRGNAM-linux-$ARCH-$VERSION.tgz -cd $PRGNAM-linux-$ARCH-$VERSION +tar xvf $CWD/$SRC_FILE +cd $SRC_FLDR chown -R root.root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -62,10 +65,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +scons --ssl --prefix=${PKG}/usr core install + mkdir -p ${PKG}/usr/doc/${PRGNAM}-${VERSION} -cp GNU-AGPL-3.0 README THIRD-PARTY-NOTICES ${PKG}/usr/doc/${PRGNAM}-${VERSION} -mkdir -p ${PKG}/usr/bin -cp bin/* ${PKG}/usr/bin +cp distsrc/* ${PKG}/usr/doc/${PRGNAM}-${VERSION} mkdir -p $PKG/etc/rc.d cat $CWD/rc.mongodb > $PKG/etc/rc.d/rc.mongodb.new diff --git a/system/mongodb/mongodb.info b/system/mongodb/mongodb.info index f6203cba96dc1..18fc9ffb59dcd 100644 --- a/system/mongodb/mongodb.info +++ b/system/mongodb/mongodb.info @@ -1,10 +1,10 @@ PRGNAM="mongodb" -VERSION="2.6.7" +VERSION="3.0.2" HOMEPAGE="http://www.mongodb.org/" -DOWNLOAD="https://fastdl.mongodb.org/linux/mongodb-linux-i686-2.6.7.tgz" -MD5SUM="87a57c05e428fe1ced619e63107140ff" -DOWNLOAD_x86_64="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.7.tgz" -MD5SUM_x86_64="d999313e7bbfcf814c845a7476246b77" -REQUIRES="" +DOWNLOAD="https://fastdl.mongodb.org/src/mongodb-src-r3.0.2.tar.gz" +MD5SUM="d9fe75f9bc88f34194d823f1d288e4d9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="scons" MAINTAINER="Miguel De Anda" EMAIL="miguel@thedeanda.com" |