summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2019-08-09 19:19:25 +0300
committerJoonas Niilola <juippis@gentoo.org>2019-08-09 19:19:25 +0300
commitcaa04314e2b31656f9c13c5e40c9387c0309d25e (patch)
treebfd3f37351b12c77b80371990e382c96f9e0041d /sci-libs/dcmtk
parentsci-libs/dcmtk: FHS-compliant config file paths (diff)
downloadgentoo-caa04314e2b31656f9c13c5e40c9387c0309d25e.tar.gz
gentoo-caa04314e2b31656f9c13c5e40c9387c0309d25e.tar.bz2
gentoo-caa04314e2b31656f9c13c5e40c9387c0309d25e.zip
sci-libs/dcmtk: remove old 3.6.4
Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sci-libs/dcmtk')
-rw-r--r--sci-libs/dcmtk/dcmtk-3.6.4.ebuild86
1 files changed, 0 insertions, 86 deletions
diff --git a/sci-libs/dcmtk/dcmtk-3.6.4.ebuild b/sci-libs/dcmtk/dcmtk-3.6.4.ebuild
deleted file mode 100644
index 4678a05c1f31..000000000000
--- a/sci-libs/dcmtk/dcmtk-3.6.4.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils
-
-DESCRIPTION="The DICOM Toolkit"
-HOMEPAGE="https://dicom.offis.de/dcmtk.php.en"
-SRC_URI="http://dicom.offis.de/download/dcmtk/release/${P}.tar.gz"
-
-LICENSE="OFFIS"
-KEYWORDS="~amd64 ~arm ~x86"
-SLOT="0"
-IUSE="doc png ssl tcpd tiff +threads xml zlib"
-
-RDEPEND="
- dev-libs/icu:=
- virtual/jpeg:0
- png? ( media-libs/libpng:* )
- ssl? ( dev-libs/openssl:0= )
- tcpd? ( sys-apps/tcp-wrappers )
- tiff? ( media-libs/tiff:0 )
- xml? ( dev-libs/libxml2:2 )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}
- media-gfx/graphviz
- doc? ( app-doc/doxygen )"
-
-src_prepare() {
- cmake-utils_src_prepare
-
- sed -e "s:share/doc/dcmtk:&-${PV}:" \
- -e "s:DIR \"/:DIR \"/usr/:" \
- -e "s:usr/etc:etc:" \
- -e "s:/lib\":/$(get_libdir)\":" \
- -e "s:COPYRIGHT::" \
- -i CMakeLists.txt || die
- sed -e 's:${CMAKE_INSTALL_PREFIX}/::' \
- -i dcmwlm/data/CMakeLists.txt doxygen/CMakeLists.txt || die
- # Temporary workaround: docs are not built with CMake
- sed -i -e '/include/d' doxygen/Makefile.in || die
-
- # fix -D deprecation warnings
- sed -i -e "s|_BSD_SOURCE|_DEFAULT_SOURCE|g" \
- "${S}"/config/configure.in \
- "${S}"/CMakeLists.txt || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_SHARED_LIBS=ON
- -DDCMTK_WITH_ICU=ON
- -DDCMTK_WITH_TIFF=$(usex tiff)
- -DDCMTK_WITH_PNG=$(usex png)
- -DDCMTK_WITH_XML=$(usex xml)
- -DDCMTK_WITH_ZLIB=$(usex zlib)
- -DDCMTK_WITH_OPENSSL=$(usex ssl)
- -DDCMTK_WITH_DOXYGEN=$(usex doc)
- -DDCMTK_WITH_THREADS=$(usex threads)
- )
-
- cmake-utils_src_configure
-
- if use doc; then
- cd "${S}"/doxygen || die
- econf
- fi
-}
-
-src_compile() {
- cmake-utils_src_compile
-
- if use doc; then
- emake -C "${S}"/doxygen
- fi
-}
-
-src_install() {
- doman doxygen/manpages/man1/*
-
- if use doc; then
- local HTML_DOCS=( "${S}"/doxygen/htmldocs/. )
- fi
- cmake-utils_src_install
-}