From 64664fd7b3baec1027e83ec650d485be69eb3f0d Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Fri, 14 Apr 2023 16:25:33 +0200 Subject: [PATCH] arpack, cleanup, move config files to devel package (#8385) --- sci-libs/arpack/arpack-3.8.0.recipe | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/sci-libs/arpack/arpack-3.8.0.recipe b/sci-libs/arpack/arpack-3.8.0.recipe index 2541ae5e6..962cdc414 100644 --- a/sci-libs/arpack/arpack-3.8.0.recipe +++ b/sci-libs/arpack/arpack-3.8.0.recipe @@ -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 }