summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorBenedikt Böhm <bb@xnull.de>2011-03-17 12:03:14 +0100
committerBenedikt Böhm <bb@xnull.de>2011-03-17 12:03:14 +0100
commit94969d356ef18ca92afa6df3056fb32f126ade49 (patch)
tree99c5d5cc97885b383e803fe8a00f74ddfd1b0e41 /dev-db
parentAdded app-laptop/easy-slow-down-manager and app-laptop/samsung-tools (diff)
downloadbetagarden-94969d356ef18ca92afa6df3056fb32f126ade49.tar.gz
betagarden-94969d356ef18ca92afa6df3056fb32f126ade49.tar.bz2
betagarden-94969d356ef18ca92afa6df3056fb32f126ade49.zip
dev-db/mongodb: version bump to 1.8.0
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/mongodb/Manifest2
-rw-r--r--dev-db/mongodb/mongodb-1.8.0.ebuild61
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-db/mongodb/Manifest b/dev-db/mongodb/Manifest
index 482ff50..b9379ea 100644
--- a/dev-db/mongodb/Manifest
+++ b/dev-db/mongodb/Manifest
@@ -4,6 +4,8 @@ AUX mongodb.initd 788 RMD160 9e5b1c8ad6b04582d6c7e8d608393ac0eb1803b1 SHA1 bca0d
DIST mongodb-src-r1.6.3.tar.gz 1502657 RMD160 5480057a85758ee9bae70ec3b754dc5eefca0c75 SHA1 5cddd0f46e251b53746c2358a818da4dcf12483a SHA256 3c4e567ca6e07fa96f8025402803dbc077aa4d3e50b6decb99e06de5dd117c90
DIST mongodb-src-r1.7.5.tar.gz 1699816 RMD160 6477f83d67dc405f27d67bbb823f545ee45a99ae SHA1 f01e0b6491ca478958a2717e7bf5e119709b7ed6 SHA256 155c850a799428b10183c0e2c10b00cc189492774ef85b0bf63585cd8dc53545
DIST mongodb-src-r1.8.0-rc1.tar.gz 1717502 RMD160 93785a554bace6a6c600ebef0c86886b171bf88f SHA1 cfbfacdde90df02e9cee222286a6c1dd70eef954 SHA256 23477deb7bf69aebc51c2609491b22cf21b0265a7c769d952eda07aa61700b2e
+DIST mongodb-src-r1.8.0.tar.gz 1718213 RMD160 e80638eacc816869a1284ee135b1c9e9885c1684 SHA1 1f8d596da667af10721c6602071e824bc4b8a0f3 SHA256 4c2992e49586d4b4a513937286fd8813f4cef44686e67275c4e96489e4456a96
EBUILD mongodb-1.6.3.ebuild 1361 RMD160 7354ffc354060bd48c512362dbbe58ea31d52372 SHA1 caeec082f20592d395db6ef5fdce2a425de9ea43 SHA256 afcaf753ba2fe93d87aa6e60142add68799e3e3d82b2608da5a7e55de84779e7
EBUILD mongodb-1.7.5.ebuild 1371 RMD160 dfd82a72a4027453cca302819724d535b3175a1d SHA1 bcbcfbc2202dce102c08e6aaf3dbb19d5e5a1cb8 SHA256 10cbba601742cced41573042f80dac8fba899f185480c8897bc7a13311a58920
+EBUILD mongodb-1.8.0.ebuild 1304 RMD160 e0f297c937e44625ba27d873fb6f040f2c3191ee SHA1 f9c6ce2e60cb00a83f5a89bc5a6ae8ed6212c88d SHA256 7f2564a94241c20d2786aa912197c82aa6ee96de79a334cd1b2607888f462dfc
EBUILD mongodb-1.8.0_rc1.ebuild 1379 RMD160 7ff158bcc2177f019aabc9b5ec9dadf45b8a659b SHA1 afe462cc0c7c32f029af09f850506c843a62e6b8 SHA256 0eacd23ffc64a4033cea7f6d380f686eec92353cabe904350055db2bbbc41ebe
diff --git a/dev-db/mongodb/mongodb-1.8.0.ebuild b/dev-db/mongodb/mongodb-1.8.0.ebuild
new file mode 100644
index 0000000..3849f20
--- /dev/null
+++ b/dev-db/mongodb/mongodb-1.8.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+SCONS_MIN_VERSION="1.2.0"
+MY_P="${PN}-src-r${PV/_rc/-rc}"
+
+inherit eutils scons-utils versionator
+
+DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
+HOMEPAGE="http://www.mongodb.org"
+SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz"
+
+LICENSE="AGPL-3 Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-lang/spidermonkey[unicode]
+ dev-libs/boost
+ dev-libs/libpcre
+ net-libs/libpcap
+"
+
+DEPEND="${RDEPEND}
+ sys-libs/readline
+ sys-libs/ncurses
+"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ enewgroup mongodb
+ enewuser mongodb -1 -1 /var/lib/${PN} mongodb
+}
+
+src_compile() {
+ escons all || die "Compile failed"
+}
+
+src_install() {
+ escons --full --nostrip install --prefix="${D}"/usr || die "Install failed"
+
+ for x in /var/{lib,log,run}/${PN}; do
+ dodir "${x}" || die "Install failed"
+ fowners mongodb:mongodb "${x}"
+ done
+
+ doman debian/mongo*.1 || die "Install failed"
+ dodoc README docs/building.md
+
+ newinitd "${FILESDIR}/${PN}.initd" ${PN} || die "Install failed"
+ newconfd "${FILESDIR}/${PN}.confd" ${PN} || die "Install failed"
+}
+
+src_test() {
+ escons smoke --smokedbprefix='testdir' test || die "Tests failed"
+}