summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2004-02-11 11:06:25 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2004-02-11 11:06:25 +0000
commit25cef849bd741364317afc995e206cbf13324993 (patch)
tree34c4e40030aea265c724036480dca3fcd2c5bd27 /dev-libs/hdf
parentSee bug 41146 (diff)
downloadgentoo-2-25cef849bd741364317afc995e206cbf13324993.tar.gz
gentoo-2-25cef849bd741364317afc995e206cbf13324993.tar.bz2
gentoo-2-25cef849bd741364317afc995e206cbf13324993.zip
See bug 41146
Diffstat (limited to 'dev-libs/hdf')
-rw-r--r--dev-libs/hdf/ChangeLog7
-rw-r--r--dev-libs/hdf/Manifest4
-rw-r--r--dev-libs/hdf/files/digest-hdf-4.2.0-r11
-rw-r--r--dev-libs/hdf/hdf-4.2.0-r1.ebuild44
4 files changed, 53 insertions, 3 deletions
diff --git a/dev-libs/hdf/ChangeLog b/dev-libs/hdf/ChangeLog
index 8067945e4aa8..ce9805098a71 100644
--- a/dev-libs/hdf/ChangeLog
+++ b/dev-libs/hdf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/hdf
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/hdf/ChangeLog,v 1.2 2004/02/06 15:58:12 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/hdf/ChangeLog,v 1.3 2004/02/11 11:06:16 phosphan Exp $
+
+*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)
diff --git a/dev-libs/hdf/Manifest b/dev-libs/hdf/Manifest
index f6d672e40003..2748c317c50d 100644
--- a/dev-libs/hdf/Manifest
+++ b/dev-libs/hdf/Manifest
@@ -1,6 +1,6 @@
-MD5 0ca48c5a2e34cffbe076726deb1ba679 hdf-4.2.0-r1.ebuild 1215
+MD5 c22a1737a9b8ad5e250fa82265443991 hdf-4.2.0-r1.ebuild 1222
MD5 7300afb86b5cd48720a412fb2f586f06 hdf-4.2.0.ebuild 1091
-MD5 dcd9e527c495979731a7b2c268630b51 ChangeLog 367
+MD5 f069b831163f05e10c5714c65de1b5e6 ChangeLog 532
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
MD5 bdb6c3501721a0f1f6b81f2f9b052028 files/digest-hdf-4.2.0-r1 61
MD5 bdb6c3501721a0f1f6b81f2f9b052028 files/digest-hdf-4.2.0 61
diff --git a/dev-libs/hdf/files/digest-hdf-4.2.0-r1 b/dev-libs/hdf/files/digest-hdf-4.2.0-r1
new file mode 100644
index 000000000000..7273e84b1456
--- /dev/null
+++ b/dev-libs/hdf/files/digest-hdf-4.2.0-r1
@@ -0,0 +1 @@
+MD5 9d3ee529a7f8464481c0cc241a92d076 hdf4.2r0.tar.gz 3738135
diff --git a/dev-libs/hdf/hdf-4.2.0-r1.ebuild b/dev-libs/hdf/hdf-4.2.0-r1.ebuild
new file mode 100644
index 000000000000..5ba54abc1a0f
--- /dev/null
+++ b/dev-libs/hdf/hdf-4.2.0-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/hdf/hdf-4.2.0-r1.ebuild,v 1.1 2004/02/11 11:06:16 phosphan Exp $
+
+# 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"
+SLOT="0"
+IUSE=""
+
+DEPEND="sys-libs/zlib
+ media-libs/jpeg
+ dev-libs/szip
+ app-sci/netcdf
+ >=sys-apps/sed-4"
+
+src_compile() {
+ local myconf="--enable-production --with-szlib=/usr"
+ econf ${myconf} || die "configure failed"
+ make || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc README release_notes/*.txt
+ cd ${D}
+ if has_version app-sci/netcdf; then
+ einfo app-sci/netcdf is already installed - not installing netcdf related files
+ rm -v usr/bin/nc*
+ rm -v usr/share/man/man1/nc*
+ rm -v usr/include/netcdf.inc
+ rm -v usr/include/netcdf.h
+ fi
+}