diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-04 11:14:15 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-05 18:40:24 +0100 |
commit | 4ffa10f6a70318d6b036be816b8da47711eeebb7 (patch) | |
tree | 35b94fcd095507458864e1f62a5504867c75d61e /sci-libs/dcmtk | |
parent | sci-mathematics: Switch to cmake.eclass (diff) | |
download | gentoo-4ffa10f6a70318d6b036be816b8da47711eeebb7.tar.gz gentoo-4ffa10f6a70318d6b036be816b8da47711eeebb7.tar.bz2 gentoo-4ffa10f6a70318d6b036be816b8da47711eeebb7.zip |
*/*: Switch sci-biology proj to cmake.eclass
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-libs/dcmtk')
-rw-r--r-- | sci-libs/dcmtk/dcmtk-3.6.5.ebuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sci-libs/dcmtk/dcmtk-3.6.5.ebuild b/sci-libs/dcmtk/dcmtk-3.6.5.ebuild index 62dcaa4d598b..240ca02f96fb 100644 --- a/sci-libs/dcmtk/dcmtk-3.6.5.ebuild +++ b/sci-libs/dcmtk/dcmtk-3.6.5.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit cmake-utils +inherit cmake DESCRIPTION="The DICOM Toolkit" HOMEPAGE="https://dicom.offis.de/dcmtk.php.en" @@ -30,7 +30,7 @@ DEPEND="${RDEPEND} BDEPEND="doc? ( app-doc/doxygen )" src_prepare() { - cmake-utils_src_prepare + cmake_src_prepare sed -e "s:share/doc/dcmtk:&-${PV}:" \ -e "s:DIR \"/:DIR \"/usr/:" \ @@ -51,7 +51,6 @@ src_prepare() { src_configure() { local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_SYSCONFDIR="${EROOT}/etc" -DDCMTK_WITH_ICU=ON -DDCMTK_WITH_TIFF=$(usex tiff) @@ -63,7 +62,7 @@ src_configure() { -DDCMTK_WITH_THREADS=$(usex threads) ) - cmake-utils_src_configure + cmake_src_configure if use doc; then cd "${S}"/doxygen || die @@ -72,7 +71,7 @@ src_configure() { } src_compile() { - cmake-utils_src_compile + cmake_src_compile if use doc; then emake -C "${S}"/doxygen @@ -85,5 +84,5 @@ src_install() { if use doc; then local HTML_DOCS=( "${S}"/doxygen/htmldocs/. ) fi - cmake-utils_src_install + cmake_src_install } |