diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 05:08:39 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 05:08:39 +0200 |
commit | 6109bebd80c2873d9a5763436902b17a0d68d21c (patch) | |
tree | f3a6ebda4446fe462bc685484c2dd074471848b0 /sci-libs/dcmtk/dcmtk-3.6.1_pre20140617.ebuild | |
parent | 784b55e4a75e582ee2d5a98cf47a7df1cab26b2e (diff) | |
download | darklin4-6109bebd80c2873d9a5763436902b17a0d68d21c.tar.gz darklin4-6109bebd80c2873d9a5763436902b17a0d68d21c.tar.bz2 darklin4-6109bebd80c2873d9a5763436902b17a0d68d21c.tar.xz darklin4-6109bebd80c2873d9a5763436902b17a0d68d21c.zip |
Added gnu-netcat from old portage
Diffstat (limited to 'sci-libs/dcmtk/dcmtk-3.6.1_pre20140617.ebuild')
-rw-r--r-- | sci-libs/dcmtk/dcmtk-3.6.1_pre20140617.ebuild | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/sci-libs/dcmtk/dcmtk-3.6.1_pre20140617.ebuild b/sci-libs/dcmtk/dcmtk-3.6.1_pre20140617.ebuild deleted file mode 100644 index ca2b85c..0000000 --- a/sci-libs/dcmtk/dcmtk-3.6.1_pre20140617.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# This ebuild come from bugs.gentoo.org - -EAPI="3" - -inherit cmake-utils eutils - -MY_P=${P/pre/} - -DESCRIPTION="The DICOM Toolkit" -HOMEPAGE="http://dicom.offis.de/dcmtk.php.en" -SRC_URI="http://dicom.offis.de/download/${PN}/snapshot/${MY_P}.tar.gz" -LICENSE="BSD" - -KEYWORDS="~amd64 ~x86" -SLOT="0" -IUSE="doc png ssl tcpd tiff +threads xml zlib" - -RDEPEND=" - virtual/jpeg - png? ( media-libs/libpng ) - ssl? ( dev-libs/openssl ) - tcpd? ( sys-apps/tcp-wrappers ) - tiff? ( media-libs/tiff ) - xml? ( dev-libs/libxml2:2 ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen )" - -S=${WORKDIR}/${MY_P} - -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 build with CMake - sed -i -e '/include/d' doxygen/Makefile.in || die -} - -src_configure() { - mycmakeargs="${mycmakeargs} - -DBUILD_SHARED_LIBS=ON - -DCMAKE_INSTALL_PREFIX=/ - $(cmake-utils_use tiff DCMTK_WITH_TIFF) - $(cmake-utils_use png DCMTK_WITH_PNG) - $(cmake-utils_use xml DCMTK_WITH_XML) - $(cmake-utils_use zlib DCMTK_WITH_ZLIB) - $(cmake-utils_use ssl DCMTK_WITH_OPENSSL) - $(cmake-utils_use doc DCMTK_WITH_DOXYGEN) - $(cmake-utils_use threads DCMTK_WITH_THREADS)" - cmake-utils_src_configure - if use doc; then - cd "${S}"/doxygen - econf - fi -} - -src_compile() { - cmake-utils_src_compile - if use doc; then - emake -C "${S}"/doxygen || die - fi -} - -src_install() { - cmake-utils_src_install - if use doc; then - cd "${S}" - doman doxygen/manpages/man1/* || die - dohtml -r doxygen/htmldocs/* || die - fi -} |