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 }