diff options
author | 2020-10-30 18:04:30 +0100 | |
---|---|---|
committer | 2020-10-31 23:40:11 +0100 | |
commit | bbfb176d2d634bfd8747e014b8006d2fd0e98b4a (patch) | |
tree | 49bcbaac68076b19e5a89e765668186a46bf54ab /dev-util/mdds/mdds-1.7.0.ebuild | |
parent | net-libs/aqbanking: 6.2.5 version bump (diff) | |
download | gentoo-bbfb176d2d634bfd8747e014b8006d2fd0e98b4a.tar.gz gentoo-bbfb176d2d634bfd8747e014b8006d2fd0e98b4a.tar.bz2 gentoo-bbfb176d2d634bfd8747e014b8006d2fd0e98b4a.zip |
dev-util/mdds: 1.7.0 version bump
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-util/mdds/mdds-1.7.0.ebuild')
-rw-r--r-- | dev-util/mdds/mdds-1.7.0.ebuild | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/dev-util/mdds/mdds-1.7.0.ebuild b/dev-util/mdds/mdds-1.7.0.ebuild new file mode 100644 index 000000000000..56bc179c30bc --- /dev/null +++ b/dev-util/mdds/mdds-1.7.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://gitlab.com/mdds/mdds.git" + inherit git-r3 +else + SRC_URI="https://kohei.us/files/${PN}/src/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +fi +inherit autotools toolchain-funcs + +DESCRIPTION="Collection of multi-dimensional data structure and indexing algorithm" +HOMEPAGE="https://gitlab.com/mdds/mdds" + +LICENSE="MIT" +SLOT="1/1.5" # Check API version on version bumps! +IUSE="doc openmp valgrind test" +RESTRICT="!test? ( test )" + +BDEPEND=" + doc? ( + app-doc/doxygen + dev-python/sphinx + ) + valgrind? ( dev-util/valgrind ) +" +DEPEND="dev-libs/boost:=" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-1.5.0-buildsystem.patch" + "${FILESDIR}/${P}-bashism.patch" # bug 723094 +) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable doc docs) + $(use_enable valgrind memory_tests) + ) + if use openmp && tc-has-openmp; then + myeconfargs+=( --enable-openmp ) + else + myeconfargs+=( --disable-openmp ) + fi + econf "${myeconfargs[@]}" +} + +src_test() { + tc-export CXX + default +} |