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="1"
SOURCE_URI="https://kohei.us/files/mdds/src/mdds-$portVersion.tar.bz2"
SOURCE_DIR="mdds-$portVersion"
CHECKSUM_SHA256="25ce3d5af9f6609e1de05bb22b2316e57b74a72a5b686fbb2da199da72349c81"

ARCHITECTURES="any"

PROVIDES="
	mdds14 = $portVersion compat >= 1.4
	devel:mdds = $portVersion compat >= 1.4
	"
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
}
