mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
mdds: add recipes.
* libetonyek requires specifically 1.0. * It is header only, so it needs to be specified explicitly in dependencies. That is why I defined mdds in mdds12's PROVIDES.
This commit is contained in:
63
dev-util/mdds/mdds-1.0.0.recipe
Normal file
63
dev-util/mdds/mdds-1.0.0.recipe
Normal file
@@ -0,0 +1,63 @@
|
||||
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="1"
|
||||
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
|
||||
"
|
||||
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
|
||||
}
|
||||
67
dev-util/mdds/mdds12-1.2.2.recipe
Normal file
67
dev-util/mdds/mdds12-1.2.2.recipe
Normal file
@@ -0,0 +1,67 @@
|
||||
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="1"
|
||||
SOURCE_URI="http://kohei.us/files/mdds/src/mdds-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="141e730b39110434b02cd844c5ad3442103f7c35f7e9a4d6a9f8af813594cc9d"
|
||||
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
|
||||
"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user