diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2003-12-17 08:11:04 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2003-12-17 08:11:04 +0000 |
commit | 98279f74f35c6f266829e543e618f7592b7e3724 (patch) | |
tree | cc67e0c700b4bb7bbf1999864eddba8f5f291c25 /dev-libs | |
parent | Initial import. Required for OpenDX (see bug 22217) (diff) | |
download | gentoo-2-98279f74f35c6f266829e543e618f7592b7e3724.tar.gz gentoo-2-98279f74f35c6f266829e543e618f7592b7e3724.tar.bz2 gentoo-2-98279f74f35c6f266829e543e618f7592b7e3724.zip |
Initial import. Required for OpenDX (see bug 22217)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/hdf/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/hdf/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/hdf/files/digest-hdf-4.2.0 | 1 | ||||
-rw-r--r-- | dev-libs/hdf/hdf-4.2.0.ebuild | 43 | ||||
-rw-r--r-- | dev-libs/hdf/metadata.xml | 5 |
5 files changed, 61 insertions, 1 deletions
diff --git a/dev-libs/hdf/ChangeLog b/dev-libs/hdf/ChangeLog new file mode 100644 index 000000000000..b5ac2428bdbd --- /dev/null +++ b/dev-libs/hdf/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-libs/hdf +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/hdf/ChangeLog,v 1.1 2003/12/17 08:10:54 phosphan Exp $ + +*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/dev-libs/hdf/Manifest b/dev-libs/hdf/Manifest index 45af741c5366..40d8bc3ff40c 100644 --- a/dev-libs/hdf/Manifest +++ b/dev-libs/hdf/Manifest @@ -1,2 +1,4 @@ -MD5 86304b1c864371256e1bd731cd043570 hdf-4.2.0.ebuild 1704 +MD5 f102111e91d6bd553dbdb02d3d4eecf8 hdf-4.2.0.ebuild 1088 +MD5 aaab0588c9f8507650a53207d3ebb1af ChangeLog 371 +MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 MD5 bdb6c3501721a0f1f6b81f2f9b052028 files/digest-hdf-4.2.0 61 diff --git a/dev-libs/hdf/files/digest-hdf-4.2.0 b/dev-libs/hdf/files/digest-hdf-4.2.0 new file mode 100644 index 000000000000..7273e84b1456 --- /dev/null +++ b/dev-libs/hdf/files/digest-hdf-4.2.0 @@ -0,0 +1 @@ +MD5 9d3ee529a7f8464481c0cc241a92d076 hdf4.2r0.tar.gz 3738135 diff --git a/dev-libs/hdf/hdf-4.2.0.ebuild b/dev-libs/hdf/hdf-4.2.0.ebuild new file mode 100644 index 000000000000..6003b0acc5d3 --- /dev/null +++ b/dev-libs/hdf/hdf-4.2.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2003 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.ebuild,v 1.1 2003/12/17 08:10:54 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" +SLOT="0" +IUSE="" + +DEPEND="sys-libs/zlib + media-libs/jpeg + dev-libs/szip + app-sci/netcdf + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + # collides with netCDF + sed -i 's/\(^SUBDIR.*\)mfhdf\(.*\)/\1\2/' Makefile.in +} + +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 +} diff --git a/dev-libs/hdf/metadata.xml b/dev-libs/hdf/metadata.xml new file mode 100644 index 000000000000..b229aec85b8f --- /dev/null +++ b/dev-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> |