diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-02-18 19:55:49 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-02-18 19:55:49 +0100 |
commit | 5432165433b6e32fd6ef412aa9fcfcf7ea151664 (patch) | |
tree | 51b059e30b73e5fbda660b59bec0db9e12ae2010 /sci-libs/hdf | |
parent | sci-libs/gdal: Remove old (diff) | |
download | gentoo-5432165433b6e32fd6ef412aa9fcfcf7ea151664.tar.gz gentoo-5432165433b6e32fd6ef412aa9fcfcf7ea151664.tar.bz2 gentoo-5432165433b6e32fd6ef412aa9fcfcf7ea151664.zip |
sci-libs/hdf: Remove old
Closes: https://bugs.gentoo.org/716530
Closes: https://bugs.gentoo.org/664856
Closes: https://bugs.gentoo.org/639390
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-libs/hdf')
-rw-r--r-- | sci-libs/hdf/hdf-4.2.13.ebuild | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/sci-libs/hdf/hdf-4.2.13.ebuild b/sci-libs/hdf/hdf-4.2.13.ebuild deleted file mode 100644 index feefb99d01aa..000000000000 --- a/sci-libs/hdf/hdf-4.2.13.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -FORTRAN_NEEDED=fortran - -inherit fortran-2 toolchain-funcs autotools flag-o-matic ltprune - -MYP=${P/_p/-patch} - -DESCRIPTION="General purpose library and format for storing scientific data" -HOMEPAGE="https://www.hdfgroup.org/hdf4.html" -SRC_URI="https://www.hdfgroup.org/ftp/HDF/HDF_Current/src/${MYP}.tar.bz2" - -SLOT="0" -LICENSE="NCSA-HDF" -KEYWORDS="~amd64 ~ia64 ~ppc -sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="examples fortran szip static-libs test" -RESTRICT="!test? ( test )" -REQUIRED_USE="test? ( szip )" - -RDEPEND=" - sys-libs/zlib - virtual/jpeg:0 - szip? ( virtual/szip )" -DEPEND="${RDEPEND} - test? ( virtual/szip )" - -S="${WORKDIR}/${MYP}" - -PATCHES=( - "${FILESDIR}"/${PN}-4.2.11-fix-szip-detection.patch - "${FILESDIR}"/${PN}-4.2.11-enable-fortran-shared.patch -) - -src_prepare() { - default - sed -i -e 's/-R/-L/g' config/commence.am || die #rpath - eautoreconf - [[ $(tc-getFC) = *gfortran ]] && append-fflags -fno-range-check -} - -src_configure() { - econf \ - --enable-shared \ - --enable-production=gentoo \ - --disable-netcdf \ - $(use_enable fortran) \ - $(use_enable static-libs static) \ - $(use_with szip szlib) \ - CC="$(tc-getCC)" -} - -src_install() { - default - use static-libs || prune_libtool_files --all - dodoc release_notes/{RELEASE,HISTORY,bugs_fixed,misc_docs}.txt - cd "${ED}"usr - if use examples; then - mv share/hdf4_examples share/doc/${PF}/examples || die - docompress -x /usr/share/doc/${PF}/examples - else - rm -r share/hdf4_examples || die - fi - mv bin/ncgen{,-hdf} || die - mv bin/ncdump{,-hdf} || die - mv share/man/man1/ncgen{,-hdf}.1 || die - mv share/man/man1/ncdump{,-hdf}.1 || die -} |