summaryrefslogtreecommitdiff
path: root/sci-libs/hdf/hdf-4.2.9.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-11-18 10:15:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-11-18 10:15:03 +0000
commitb284a3168fa91a038925d2ecf5e4791011ea5e7d (patch)
tree16fe44748708acacd909d4e2e160a09a7f6d936a /sci-libs/hdf/hdf-4.2.9.ebuild
parent77398e424e45d9e98c1cef3c43bdadb9d56e81ef (diff)
gentoo resync : 18.11.2019
Diffstat (limited to 'sci-libs/hdf/hdf-4.2.9.ebuild')
-rw-r--r--sci-libs/hdf/hdf-4.2.9.ebuild56
1 files changed, 0 insertions, 56 deletions
diff --git a/sci-libs/hdf/hdf-4.2.9.ebuild b/sci-libs/hdf/hdf-4.2.9.ebuild
deleted file mode 100644
index 04467f229444..000000000000
--- a/sci-libs/hdf/hdf-4.2.9.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-FORTRAN_NEEDED=fortran
-
-inherit eutils fortran-2 toolchain-funcs autotools flag-o-matic
-
-MYP=${P/_p/-patch}
-
-DESCRIPTION="General purpose library and format for storing scientific data"
-HOMEPAGE="http://www.hdfgroup.org/hdf4.html"
-SRC_URI="http://www.hdfgroup.org/ftp/HDF/HDF_Current/src/${MYP}.tar.bz2"
-
-SLOT="0"
-LICENSE="NCSA-HDF"
-KEYWORDS="~amd64 ~ppc -sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="fortran szip static-libs"
-
-RDEPEND="
- sys-libs/zlib
- virtual/jpeg
- szip? ( virtual/szip )"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${MYP}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-autotools.patch \
- "${FILESDIR}"/${PN}-ppc.patch
- 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
- dodoc release_notes/{RELEASE,HISTORY,bugs_fixed,misc_docs}.txt
- cd "${ED}"usr
- 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
-}