diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-01-26 22:34:18 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-01-27 01:42:39 +0100 |
commit | e25f4e45e66de0d39eb2057f5872be92a0c6d34d (patch) | |
tree | f0527a4cbadcea804d166254310e6631c701ef50 /dev-util/mdds/mdds-2.1.1.ebuild | |
parent | profiles.desc: Add 23.0 sparc profiles (diff) | |
download | gentoo-e25f4e45e66de0d39eb2057f5872be92a0c6d34d.tar.gz gentoo-e25f4e45e66de0d39eb2057f5872be92a0c6d34d.tar.bz2 gentoo-e25f4e45e66de0d39eb2057f5872be92a0c6d34d.zip |
dev-util/mdds: 2.1.1 version bump
Closes: https://bugs.gentoo.org/919895
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-util/mdds/mdds-2.1.1.ebuild')
-rw-r--r-- | dev-util/mdds/mdds-2.1.1.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/dev-util/mdds/mdds-2.1.1.ebuild b/dev-util/mdds/mdds-2.1.1.ebuild new file mode 100644 index 000000000000..8046260ebd00 --- /dev/null +++ b/dev-util/mdds/mdds-2.1.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 ~loong ~ppc ~ppc64 ~riscv ~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/2.1" # Check API version on version bumps! +IUSE="doc openmp test" +RESTRICT="!test? ( test )" + +DEPEND="dev-libs/boost:=" +RDEPEND="${DEPEND}" +BDEPEND=" + doc? ( + app-text/doxygen + dev-python/sphinx + ) + test? ( dev-util/dejagnu ) +" + +PATCHES=( "${FILESDIR}/${PN}-1.5.0-buildsystem.patch" ) + +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 openmp) + ) + econf "${myeconfargs[@]}" +} + +src_test() { + tc-export CXX + default +} |