diff options
Diffstat (limited to 'sci-libs/vtk/vtk-8.2.0-r4.ebuild')
-rw-r--r-- | sci-libs/vtk/vtk-8.2.0-r4.ebuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sci-libs/vtk/vtk-8.2.0-r4.ebuild b/sci-libs/vtk/vtk-8.2.0-r4.ebuild index 5573bf1a4a73..2051e4d46bd8 100644 --- a/sci-libs/vtk/vtk-8.2.0-r4.ebuild +++ b/sci-libs/vtk/vtk-8.2.0-r4.ebuild @@ -8,21 +8,21 @@ WEBAPP_OPTIONAL=yes WEBAPP_MANUAL_SLOT=yes # Short package version -SPV="$(ver_cut 1-2)" +MY_PV="$(ver_cut 1-2)" inherit flag-o-matic java-pkg-opt-2 python-single-r1 qmake-utils toolchain-funcs cmake virtualx webapp DESCRIPTION="The Visualization Toolkit" HOMEPAGE="https://www.vtk.org/" SRC_URI=" - https://www.vtk.org/files/release/${SPV}/VTK-${PV}.tar.gz - doc? ( https://www.vtk.org/files/release/${SPV}/vtkDocHtml-${PV}.tar.gz ) + https://www.vtk.org/files/release/${MY_PV}/VTK-${PV}.tar.gz + doc? ( https://www.vtk.org/files/release/${MY_PV}/vtkDocHtml-${PV}.tar.gz ) examples? ( - https://www.vtk.org/files/release/${SPV}/VTKData-${PV}.tar.gz - https://www.vtk.org/files/release/${SPV}/VTKLargeData-${PV}.tar.gz + https://www.vtk.org/files/release/${MY_PV}/VTKData-${PV}.tar.gz + https://www.vtk.org/files/release/${MY_PV}/VTKLargeData-${PV}.tar.gz )" LICENSE="BSD LGPL-2" -SLOT="0" +SLOT="0/${MY_PV}" KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" IUSE="all-modules aqua boost doc examples ffmpeg gdal imaging java json mpi mysql odbc offscreen postgres python qt5 R rendering tbb tcl theora tk @@ -181,7 +181,7 @@ src_configure() { -Wno-dev -DVTK_DIR="${S}" -DVTK_INSTALL_LIBRARY_DIR=$(get_libdir) - -DVTK_INSTALL_PACKAGE_DIR="$(get_libdir)/cmake/${PN}-${SPV}" + -DVTK_INSTALL_PACKAGE_DIR="$(get_libdir)/cmake/${PN}-${MY_PV}" -DVTK_INSTALL_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" -DVTK_DATA_ROOT="${EPREFIX}/usr/share/${PN}/data" -DVTK_CUSTOM_LIBRARY_SUFFIX="" @@ -357,7 +357,7 @@ src_install() { # environment cat >> "${T}"/40${PN} <<- EOF || die VTK_DATA_ROOT=${EPREFIX}/usr/share/${PN}/data - VTK_DIR=${EPREFIX}/usr/$(get_libdir)/${PN}-${SPV} + VTK_DIR=${EPREFIX}/usr/$(get_libdir)/${PN}-${MY_PV} VTKHOME=${EPREFIX}/usr EOF doenvd "${T}"/40${PN} |