mdds, add 3.1.0, drop obsolete packages (#12797)

This commit is contained in:
Schrijvers Luc
2025-08-21 12:35:14 +02:00
committed by GitHub
parent cbc7470128
commit 11c1267dd2
3 changed files with 59 additions and 104 deletions

View File

@@ -1,48 +0,0 @@
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
}

View File

@@ -1,56 +0,0 @@
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-2021 Kohei Yoshida et al."
LICENSE="MIT"
REVISION="2"
SOURCE_URI="https://kohei.us/files/mdds/src/mdds-$portVersion.tar.bz2"
SOURCE_DIR="mdds-$portVersion"
CHECKSUM_SHA256="3ab33fce58e6acf9540cc1a52264be6863ef80f55ac287194cc98cda48e71fe6"
ARCHITECTURES="any"
PROVIDES="
mdds2 = $portVersion compat >= 2
devel:mdds = $portVersion compat >= 2
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:autoreconf
cmd:g++
cmd:ld
cmd:make
cmd:sed
"
PATCH()
{
sed -e '/AX_CXX_COMPILE_STDCXX_17/ s/^#*/#/' -i configure.ac
}
BUILD()
{
autoreconf
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}
TEST()
{
make check
}

View File

@@ -0,0 +1,59 @@
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-2015 Kohei Yoshida et al."
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://gitlab.com/mdds/mdds/-/archive/$portVersion/mdds-$portVersion.tar.bz2"
CHECKSUM_SHA256="8e2d8436e91407d2ee1ea6c6492b9c94f2296a575319f94fa8181cf3294456f6"
SOURCE_DIR="mdds-$portVersion"
ARCHITECTURES="any"
PROVIDES="
mdds3.1 = $portVersion compat >= 3.0
devel:mdds = $portVersion compat >= 3.0
"
if [ "$targetArchitecture" = x86_gcc2 ]; then
secondaryArchSuffix="_x86"
fi
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:autoreconf
cmd:g++$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:sed
"
TEST_REQUIRES="
devel:libboost_system$secondaryArchSuffix >= 1.88.0
"
BUILD()
{
if [ "$targetArchitecture" = x86_gcc2 ]; then
export PATH=$PATH:/bin/x86
fi
autoreconf -fi
runConfigure --omit-dirs docDir ./configure \
--docdir=$documentationDir/packages/mdds${portVersion%.*}
make $jobArgs
}
INSTALL()
{
make install
}
TEST()
{
make check
}