mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 05:40:07 +02:00
69 lines
1.4 KiB
Bash
69 lines
1.4 KiB
Bash
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-2017 Kohei Yoshida et al."
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="http://kohei.us/files/mdds/src/mdds-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="dcb8cd2425567a5a5ec164afea475bce57784bca3e352ad4cbdd3d1a7e08e5a1"
|
|
SOURCE_DIR="mdds-$portVersion"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="?x86"
|
|
|
|
PROVIDES="
|
|
mdds$secondaryArchSuffix = $portVersion compat >= 1.2
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
mdds${secondaryArchSuffix}_devel = $portVersion compat >= 1.2
|
|
devel:mdds = $portVersion compat >= 1.2
|
|
"
|
|
REQUIRES_devel="
|
|
mdds$secondaryArchSuffix == $portVersion base
|
|
devel:libboost_system$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libboost_system$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
aclocal
|
|
automake -a -c --foreign
|
|
autoconf
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
mkdir -p $developLibDir/pkgconfig
|
|
mv $dataDir/pkgconfig/mdds-1.2.pc $developLibDir/pkgconfig
|
|
rm -rf $dataDir/pkgconfig
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|