arpack, cleanup, move config files to devel package (#8385)

This commit is contained in:
Schrijvers Luc
2023-04-14 16:25:33 +02:00
committed by GitHub
parent 2caa0dbc3c
commit 64664fd7b3

View File

@@ -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
}