summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-12-28 20:36:12 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-12-28 20:36:12 +0000
commit703a8063221cf851e6b35b9288b9555001407d11 (patch)
treea4435b3649825a757006884165581c218bd2f644 /sci-libs/hdf
parentx86 stable (Manifest recommit) (diff)
downloadgentoo-2-703a8063221cf851e6b35b9288b9555001407d11.tar.gz
gentoo-2-703a8063221cf851e6b35b9288b9555001407d11.tar.bz2
gentoo-2-703a8063221cf851e6b35b9288b9555001407d11.zip
Moved from dev-libs/hdf to sci-libs/hdf.
Diffstat (limited to 'sci-libs/hdf')
-rw-r--r--sci-libs/hdf/ChangeLog38
-rw-r--r--sci-libs/hdf/Manifest4
-rw-r--r--sci-libs/hdf/files/digest-hdf-4.2.0-r31
-rw-r--r--sci-libs/hdf/hdf-4.2.0-r3.ebuild57
-rw-r--r--sci-libs/hdf/metadata.xml5
5 files changed, 105 insertions, 0 deletions
diff --git a/sci-libs/hdf/ChangeLog b/sci-libs/hdf/ChangeLog
new file mode 100644
index 000000000000..d9f5a8e959a5
--- /dev/null
+++ b/sci-libs/hdf/ChangeLog
@@ -0,0 +1,38 @@
+# ChangeLog for dev-libs/hdf
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf/ChangeLog,v 1.1 2004/12/28 20:36:12 ribosome Exp $
+
+*hdf-4.2.0-r3 (28 Dec 2004)
+
+ 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +hdf-4.2.0-r3.ebuild:
+ Moved from dev-libs/hdf to sci-libs/hdf.
+
+ 02 Jun 2004; Patrick Kursawe <phosphan@gentoo.org> hdf-4.2.0-r3.ebuild:
+ Added check for g77 presence, see bug #52279
+ Adding -lm to LDFLAGS, see bug #52169
+
+*hdf-4.2.0-r3 (24 May 2004)
+
+ 24 May 2004; Patrick Kursawe <phosphan@gentoo.org> hdf-4.2.0-r3.ebuild:
+ Making szip optional by new global USE flag szip.
+
+ 01 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> hdf-4.2.0-r1.ebuild,
+ hdf-4.2.0.ebuild:
+ Cleanup
+
+*hdf-4.2.0-r2 (18 Feb 2004)
+
+ 18 Feb 2004; Patrick Kursawe <phosphan@gentoo.org> hdf-4.2.0-r2.ebuild:
+ Little fixes, see bug #41146 for details.
+
+*hdf-4.2.0-r1 (11 Feb 2004)
+
+ 11 Feb 2004; Patrick Kursawe <phosphan@gentoo.org> hdf-4.2.0-r1.ebuild:
+ Bringing back libmfhdf.a - see bug #41146 for details.
+
+*hdf-4.2.0 (17 Dec 2003)
+
+ 17 Dec 2003; Patrick Kursawe <phosphan@gentoo.org> hdf-4.2.0.ebuild:
+ Initial import. Let's see if it can work with external netCDF.
+
diff --git a/sci-libs/hdf/Manifest b/sci-libs/hdf/Manifest
new file mode 100644
index 000000000000..31b6fbd28f91
--- /dev/null
+++ b/sci-libs/hdf/Manifest
@@ -0,0 +1,4 @@
+MD5 d0112c818137b0db0acf13b514418f57 hdf-4.2.0-r3.ebuild 1715
+MD5 1b34783073eb8dc69d1ae6797150c763 ChangeLog 1094
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 bdb6c3501721a0f1f6b81f2f9b052028 files/digest-hdf-4.2.0-r3 61
diff --git a/sci-libs/hdf/files/digest-hdf-4.2.0-r3 b/sci-libs/hdf/files/digest-hdf-4.2.0-r3
new file mode 100644
index 000000000000..7273e84b1456
--- /dev/null
+++ b/sci-libs/hdf/files/digest-hdf-4.2.0-r3
@@ -0,0 +1 @@
+MD5 9d3ee529a7f8464481c0cc241a92d076 hdf4.2r0.tar.gz 3738135
diff --git a/sci-libs/hdf/hdf-4.2.0-r3.ebuild b/sci-libs/hdf/hdf-4.2.0-r3.ebuild
new file mode 100644
index 000000000000..b4dfebc01e2f
--- /dev/null
+++ b/sci-libs/hdf/hdf-4.2.0-r3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf/hdf-4.2.0-r3.ebuild,v 1.1 2004/12/28 20:36:12 ribosome Exp $
+
+inherit flag-o-matic
+
+# substitute second dot by "r"
+MY_PV=${PV/./X}
+TMP_PV=${MY_PV/./r}
+MY_PV=${TMP_PV/X/.}
+
+S="${WORKDIR}/${PN}${MY_PV}"
+
+DESCRIPTION="HDF4 is a general purpose library and file format for storing scientific data."
+SRC_URI="ftp://ftp.ncsa.uiuc.edu/HDF/pub/outgoing/hdf4/hdf${MY_PV}/hdf${MY_PV}.tar.gz"
+HOMEPAGE="http://hdf.ncsa.uiuc.edu/hdf4.html"
+
+LICENSE="NCSA-HDF"
+KEYWORDS="x86 ~amd64 ppc"
+SLOT="0"
+IUSE="szip"
+
+DEPEND="sys-libs/zlib
+ media-libs/jpeg
+ sci-libs/netcdf
+ >=sys-apps/sed-4
+ szip? ( dev-libs/szip )"
+
+pkg_setup() {
+ if ! which &>/dev/null g77; then
+ die "g77 not found, please re-emerge gcc with f77 in your USE flags."
+ fi
+}
+
+src_compile() {
+ local myconf="--enable-production"
+ use szip && myconf="${myconf} --with-szlib=/usr"
+ use ppc && append-flags -DSUN
+ econf ${myconf} || die "configure failed"
+ make LDFLAGS="${LDFLAGS} -lm" || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc README release_notes/*.txt
+ cd ${D}
+ einfo Renaming included versions of ncdump and ncgen to hdfdump and hdfgen, respectively
+ mv -v usr/bin/ncgen usr/bin/hdfgen
+ mv -v usr/bin/ncdump usr/bin/hdfdump
+ mv -v usr/share/man/man1/ncgen.1 usr/share/man/man1/hdfgen.1
+ mv -v usr/share/man/man1/ncdump.1 usr/share/man/man1/hdfdump.1
+ if has_version sci-libs/netcdf; then
+ einfo sci-libs/netcdf is already installed - not installing netcdf related header files
+ rm -v usr/include/netcdf.inc
+ rm -v usr/include/netcdf.h
+ fi
+}
diff --git a/sci-libs/hdf/metadata.xml b/sci-libs/hdf/metadata.xml
new file mode 100644
index 000000000000..b229aec85b8f
--- /dev/null
+++ b/sci-libs/hdf/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>