SUMMARY="Multi-Dimensional Data Structure"
DESCRIPTION="mdds is a collection of multi-dimensional data structure \
and indexing algorithms."
HOMEPAGE="https://gitlab.com/mdds/mdds"
COPYRIGHT="2010-2018 Kohei Yoshida et al."
LICENSE="MIT"
REVISION="2"
SOURCE_URI="https://kohei.us/files/mdds/src/mdds-$portVersion.tar.bz2"
CHECKSUM_SHA256="144d6debd7be32726f332eac14ef9f17e2d3cf89cb3250eb31a7127e0789680d"

ARCHITECTURES="any"

PROVIDES="
	mdds = $portVersion compat >= 1.5
	devel:mdds = $portVersion compat >= 1.5
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:aclocal
	cmd:autoconf
	cmd:automake
	cmd:g++
	cmd:ld
	cmd:make
	"

BUILD()
{
	runConfigure ./configure
	make $jobArgs
}

INSTALL()
{
	make install
}

TEST()
{
	make check
}
