mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
c_blosc: clean up
This commit is contained in:
@@ -9,7 +9,7 @@ HOMEPAGE="https://www.blosc.org/"
|
||||
COPYRIGHT="2012 Francesc Alted
|
||||
2019-2020 Blosc Development team"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/Blosc/c-blosc/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="18730e3d1139aadf4002759ef83c8327509a9fca140661deb1d050aebba35afb"
|
||||
SOURCE_FILENAME="c_blosc-$portVersion.tar.gz"
|
||||
@@ -62,10 +62,7 @@ defineDebugInfoPackage c_blosc$secondaryArchSuffix \
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p haiku_build
|
||||
cd haiku_build
|
||||
|
||||
cmake .. \
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DPREFER_EXTERNAL_LZ4=ON \
|
||||
-DPREFER_EXTERNAL_SNAPPY=ON \
|
||||
-DPREFER_EXTERNAL_ZLIB=ON \
|
||||
@@ -79,9 +76,7 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd haiku_build
|
||||
|
||||
make install
|
||||
make -C build install
|
||||
|
||||
# move include dir to correct location
|
||||
mkdir -p $(dirname $includeDir)
|
||||
@@ -104,6 +99,5 @@ INSTALL()
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd haiku_build
|
||||
make test
|
||||
make -C build test
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user