mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
65 lines
1.3 KiB
Bash
65 lines
1.3 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-2016 Kohei Yoshida et al."
|
|
LICENSE="MIT"
|
|
REVISION="2"
|
|
SOURCE_URI="http://kohei.us/files/mdds/src/mdds_$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="ef8abc1236b54c7ca16ae1ee38abfb9cdbc5d1e6a2427c65b92b8c1003e3bf56"
|
|
SOURCE_DIR="mdds_$portVersion"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="?x86"
|
|
|
|
PROVIDES="
|
|
mdds$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
mdds${secondaryArchSuffix}_devel = $portVersion compat >= 1.0
|
|
devel:mdds = $portVersion compat >= 1.0
|
|
"
|
|
REQUIRES_devel="
|
|
mdds$secondaryArchSuffix == $portVersion base
|
|
devel:libboost_system$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libboost_system$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoconf
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
mkdir -p $developLibDir/pkgconfig
|
|
mv $dataDir/pkgconfig/mdds-1.0.pc $developLibDir/pkgconfig
|
|
rm -rf $dataDir/pkgconfig
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|