You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
950 B
51 lines
950 B
6 years ago
|
# Copyright 1999-2018 Gentoo Authors
|
||
6 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
6 years ago
|
EAPI=7
|
||
6 years ago
|
|
||
6 years ago
|
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.bz2"
|
||
|
# KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||
|
fi
|
||
|
inherit autotools toolchain-funcs
|
||
6 years ago
|
|
||
|
DESCRIPTION="A collection of multi-dimensional data structure and indexing algorithm"
|
||
|
HOMEPAGE="https://gitlab.com/mdds/mdds"
|
||
|
|
||
|
LICENSE="MIT"
|
||
|
SLOT="1/${PV%.*}"
|
||
|
IUSE="doc valgrind"
|
||
|
|
||
|
RDEPEND="dev-libs/boost:="
|
||
6 years ago
|
DEPEND="${RDEPEND}"
|
||
|
BDEPEND="
|
||
6 years ago
|
doc? (
|
||
|
app-doc/doxygen
|
||
|
dev-python/sphinx
|
||
|
)
|
||
|
valgrind? ( dev-util/valgrind )
|
||
|
"
|
||
|
|
||
6 years ago
|
PATCHES=( "${FILESDIR}/${P}-buildsystem.patch" )
|
||
6 years ago
|
|
||
|
src_prepare(){
|
||
|
default
|
||
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
econf \
|
||
|
$(use_enable doc docs) \
|
||
|
$(use_enable valgrind memory_tests)
|
||
|
}
|
||
|
|
||
|
src_compile() { :; }
|
||
|
|
||
|
src_test() {
|
||
|
tc-export CXX
|
||
|
default
|
||
|
}
|