mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
arpack, cleanup, move config files to devel package (#8385)
This commit is contained in:
@@ -19,7 +19,7 @@ COPYRIGHT="1996-2008 Rice University
|
||||
2010 Jordi Guti\érrez Hermoso
|
||||
2007 S\ébastien Fabbro"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/opencollab/arpack-ng/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="ada5aeb3878874383307239c9235b716a8a170c6d096a6625bfd529844df003d"
|
||||
SOURCE_DIR="arpack-ng-$portVersion"
|
||||
@@ -69,29 +69,26 @@ defineDebugInfoPackage arpack$secondaryArchSuffix \
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake .. \
|
||||
cmake -Bbuild -S. \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
$cmakeDirArgs
|
||||
|
||||
make $jobArgs
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
make -C build install
|
||||
|
||||
prepareInstalledDevelLib libarpack
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
$developDir \
|
||||
$libDir/cmake
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
make -C build test
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user