diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2014-08-01 13:08:05 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2014-08-01 13:08:05 +0000 |
commit | 44dc9a1615be77c2d65857c4edc426639be2acd4 (patch) | |
tree | 08c1d756d5c619e363a32fa6ba149c0b3f997300 /dev-db/tokumx/tokumx-1.5.0.ebuild | |
parent | Cleanup old. (diff) | |
download | gentoo-2-44dc9a1615be77c2d65857c4edc426639be2acd4.tar.gz gentoo-2-44dc9a1615be77c2d65857c4edc426639be2acd4.tar.bz2 gentoo-2-44dc9a1615be77c2d65857c4edc426639be2acd4.zip |
Initial attempt at packaging TokuMX community edition. Improvement requests welcomed in bug reports, particularly with patches.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB5058F9A)
Diffstat (limited to 'dev-db/tokumx/tokumx-1.5.0.ebuild')
-rw-r--r-- | dev-db/tokumx/tokumx-1.5.0.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-db/tokumx/tokumx-1.5.0.ebuild b/dev-db/tokumx/tokumx-1.5.0.ebuild new file mode 100644 index 000000000000..f43d89df097a --- /dev/null +++ b/dev-db/tokumx/tokumx-1.5.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/tokumx/tokumx-1.5.0.ebuild,v 1.1 2014/08/01 13:08:05 chainsaw Exp $ + +EAPI=5 +CMAKE_BUILD_TYPE=Release + +inherit cmake-utils + +MY_P=${PN}-git-tag-${PV} + +DESCRIPTION="An open source, high-performance distribution of MongoDB" +HOMEPAGE="http://www.tokutek.com/products/tokumx-for-mongodb/" +SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" + +LICENSE="AGPL-3 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + !dev-libs/jemalloc + >=dev-libs/boost-1.50[threads(+)] + >=dev-libs/libpcre-8.30[cxx] + net-libs/libpcap" +DEPEND="${RDEPEND} + sys-libs/ncurses + sys-libs/readline" + +S="${WORKDIR}/mongo" +BUILD_DIR="${WORKDIR}/mongo/build" +QA_PRESTRIPPED="/usr/lib64/libHotBackup.so" + +src_prepare() { + epatch "${FILESDIR}/${PV}-Werror.diff" + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -D TOKU_DEBUG_PARANOID=OFF + -D USE_VALGRIND=OFF + -D USE_BDB=OFF + -D BUILD_TESTING=OFF + -D TOKUMX_DISTNAME=${PV} + ) + cmake-utils_src_configure +} |