From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-util/mdds/mdds-9999.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 dev-util/mdds/mdds-9999.ebuild (limited to 'dev-util/mdds/mdds-9999.ebuild') diff --git a/dev-util/mdds/mdds-9999.ebuild b/dev-util/mdds/mdds-9999.ebuild new file mode 100644 index 000000000000..8059254bb67f --- /dev/null +++ b/dev-util/mdds/mdds-9999.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="https://gitlab.com/mdds/mdds.git" +[[ ${PV} == 9999 ]] && GITECLASS="git-r3" + +inherit autotools toolchain-funcs ${GITECLASS} + +DESCRIPTION="A collection of multi-dimensional data structure and indexing algorithm" +HOMEPAGE="https://gitlab.com/mdds/mdds" +[[ ${PV} == 9999 ]] || SRC_URI="https://kohei.us/files/${PN}/src/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="1/${PV%.*}" +IUSE="doc valgrind" + +[[ ${PV} == 9999 ]] || \ +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND="dev-libs/boost:=" +DEPEND="${RDEPEND} + doc? ( + app-doc/doxygen + dev-python/sphinx + ) + valgrind? ( dev-util/valgrind ) +" + +PATCHES=( "${FILESDIR}/${PN}-1.2.3-buildsystem.patch" ) + +src_prepare(){ + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable doc docs) \ + $(use_enable valgrind memory_tests) +} + +src_compile() { :; } + +src_test() { + tc-export CXX + default +} -- cgit v1.2.3