diff options
-rw-r--r-- | sci-libs/lmfit/files/lmfit-8.2.2-cmake.patch | 4 | ||||
-rw-r--r-- | sci-libs/lmfit/lmfit-8.2.2.ebuild | 11 |
2 files changed, 7 insertions, 8 deletions
diff --git a/sci-libs/lmfit/files/lmfit-8.2.2-cmake.patch b/sci-libs/lmfit/files/lmfit-8.2.2-cmake.patch index 258f70a533d4..482ecebe8294 100644 --- a/sci-libs/lmfit/files/lmfit-8.2.2-cmake.patch +++ b/sci-libs/lmfit/files/lmfit-8.2.2-cmake.patch @@ -42,7 +42,7 @@ index dbb571e..279f06a 100644 configure_file("lmfit.pc.in" "lmfit.pc" @ONLY) install(FILES "${CMAKE_CURRENT_BINARY_DIR}/lmfit.pc" - DESTINATION "${destination}/lib/pkgconfig/") -+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig/") ++ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig/") add_subdirectory(lib) add_subdirectory(demo) @@ -76,7 +76,7 @@ index d4595fd..5505713 100644 install( FILES ${CMAKE_CURRENT_BINARY_DIR}/${pname}.html - DESTINATION "${CMAKE_INSTALL_PREFIX}/share/doc/lmfit/html" -+ DESTINATION "${CMAKE_INSTALL_DOCDIR}-${CMAKE_PROJECT_VERSION}/html" ++ DESTINATION "${CMAKE_INSTALL_DOCDIR}/html" ) endfunction() diff --git a/sci-libs/lmfit/lmfit-8.2.2.ebuild b/sci-libs/lmfit/lmfit-8.2.2.ebuild index 5a79ce239e5d..954e91ac7e70 100644 --- a/sci-libs/lmfit/lmfit-8.2.2.ebuild +++ b/sci-libs/lmfit/lmfit-8.2.2.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit cmake-utils +inherit cmake DESCRIPTION="library for Levenberg-Marquardt least-squares minimization and curve fitting" -HOMEPAGE="http://apps.jcns.fz-juelich.de/doku/sc/lmfit" +HOMEPAGE="https://jugit.fz-juelich.de/mlz/lmfit" SRC_URI="http://apps.jcns.fz-juelich.de/src/lmfit/${P}.tgz" LICENSE="BSD-2" @@ -20,6 +20,5 @@ src_configure() { local mycmakeargs=( -DINJECT_C_FLAGS=OFF ) - - cmake-utils_src_configure + cmake_src_configure } |