diff options
Diffstat (limited to 'dev-db/mongodb/mongodb-1.5.5.ebuild')
-rw-r--r-- | dev-db/mongodb/mongodb-1.5.5.ebuild | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/dev-db/mongodb/mongodb-1.5.5.ebuild b/dev-db/mongodb/mongodb-1.5.5.ebuild deleted file mode 100644 index 88aa7b277050..000000000000 --- a/dev-db/mongodb/mongodb-1.5.5.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-1.5.5.ebuild,v 1.3 2011/03/30 17:25:19 ultrabug Exp $ - -EAPI="2" - -inherit eutils versionator - -MY_PATCHVER=$(get_version_component_range 1-2) -MY_P="${PN}-src-r${PV}" - -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" - -DEPEND="${RDEPEND} - >=dev-util/scons-1.2.0-r1 - sys-libs/readline - sys-libs/ncurses" - -# Must change this on every upgrade -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - enewgroup mongodb - enewuser mongodb -1 -1 /var/lib/${PN} mongodb -} - -#src_prepare() { -# epatch "${FILESDIR}"/"${PN}"-"${MY_PATCHVER}"-modify-*.patch -#} - -src_compile() { - scons ${MAKEOPTS} all || die "Compile failed" -} - -src_install() { - scons ${MAKEOPTS} --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() { - scons ${MAKEOPTS} smoke --smokedbprefix='testdir' test || die "Tests failed" -} |