mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libspatialindex: clean up
This commit is contained in:
@@ -3,7 +3,7 @@ DESCRIPTION="Extensible framework that supports robust spatial indexing methods
|
||||
HOMEPAGE="https://libspatialindex.org/"
|
||||
COPYRIGHT="Marios Hadjieleftheriou"
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://github.com/libspatialindex/libspatialindex/releases/download/$portVersion/spatialindex-src-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="4a529431cfa80443ab4dcd45a4b25aebbabe1c0ce2fa1665039c80e999dcc50a"
|
||||
SOURCE_DIR="spatialindex-src-$portVersion"
|
||||
@@ -54,16 +54,14 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake .. $cmakeDirArgs -DCMAKE_BUILD_TYPE=Release -DSIDX_BUILD_TESTS=ON
|
||||
make $jobArgs
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
||||
$cmakeDirArgs -DSIDX_BUILD_TESTS=ON
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
make -C build install
|
||||
|
||||
mkdir -p $includeDir
|
||||
mv $prefix/include/spatialindex $includeDir
|
||||
|
||||
Reference in New Issue
Block a user