diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-08-18 12:07:07 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-08-18 12:07:07 +0000 |
commit | 0c81aa3d834f49613980a1274f72617bb00d7fe3 (patch) | |
tree | b8d442a4bffb8b10cb539f76f08f3644088d0978 /sci-libs/hdf | |
parent | Cleanup ebuild. (diff) | |
download | historical-0c81aa3d834f49613980a1274f72617bb00d7fe3.tar.gz historical-0c81aa3d834f49613980a1274f72617bb00d7fe3.tar.bz2 historical-0c81aa3d834f49613980a1274f72617bb00d7fe3.zip |
Version bump with new patches and cleanup (bug #186524), removed buggy version (bug #160051).
Package-Manager: portage-2.1.2.11
Diffstat (limited to 'sci-libs/hdf')
-rw-r--r-- | sci-libs/hdf/ChangeLog | 13 | ||||
-rw-r--r-- | sci-libs/hdf/Manifest | 49 | ||||
-rw-r--r-- | sci-libs/hdf/files/digest-hdf-4.2.0-r3 | 3 | ||||
-rw-r--r-- | sci-libs/hdf/files/digest-hdf-4.2.1_p4 | 3 | ||||
-rw-r--r-- | sci-libs/hdf/files/hdf-4.2.1_p4-maxavailfiles.patch | 11 | ||||
-rw-r--r-- | sci-libs/hdf/files/hdf-4.2.1_p4-shared-libs.patch | 427 | ||||
-rw-r--r-- | sci-libs/hdf/hdf-4.2.0-r3.ebuild | 73 | ||||
-rw-r--r-- | sci-libs/hdf/hdf-4.2.1_p4.ebuild | 98 | ||||
-rw-r--r-- | sci-libs/hdf/metadata.xml | 11 |
9 files changed, 595 insertions, 93 deletions
diff --git a/sci-libs/hdf/ChangeLog b/sci-libs/hdf/ChangeLog index 74c14c041adf..d3a4a3c02635 100644 --- a/sci-libs/hdf/ChangeLog +++ b/sci-libs/hdf/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for sci-libs/hdf -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf/ChangeLog,v 1.8 2006/11/23 20:44:38 dertobi123 Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf/ChangeLog,v 1.9 2007/08/18 12:07:07 bicatali Exp $ + +*hdf-4.2.1_p4 (18 Aug 2007) + + 18 Aug 2007; SĂ©bastien Fabbro <bicatali@gentoo.org> + +files/hdf-4.2.1_p4-maxavailfiles.patch, + +files/hdf-4.2.1_p4-shared-libs.patch, metadata.xml, -hdf-4.2.0-r3.ebuild, + +hdf-4.2.1_p4.ebuild: + Version bump with new patches and cleanup (bug #186524, thanks Ryan May) and + removed buggy version (bug #160051) 23 Nov 2006; Tobias Scherbaum <dertobi123@gentoo.org> hdf-4.2.0-r4.ebuild: ppc stable, bug #153700 diff --git a/sci-libs/hdf/Manifest b/sci-libs/hdf/Manifest index 1ee66332440f..e1e0b4f39d7d 100644 --- a/sci-libs/hdf/Manifest +++ b/sci-libs/hdf/Manifest @@ -1,27 +1,46 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX hdf-4.2.0-shared-libs.patch 17794 RMD160 d1557665ab6fd48b7ce6780e4d910042c6b3331c SHA1 a1c82e50557eec53399515d801a64f4119a7afed SHA256 966cc03aa0d17245cd0bbf5ec5d87d2074a517fdf76a8a135cd94af69e494501 MD5 f9fd921ea3f86b6fc072704cf5e064d5 files/hdf-4.2.0-shared-libs.patch 17794 RMD160 d1557665ab6fd48b7ce6780e4d910042c6b3331c files/hdf-4.2.0-shared-libs.patch 17794 SHA256 966cc03aa0d17245cd0bbf5ec5d87d2074a517fdf76a8a135cd94af69e494501 files/hdf-4.2.0-shared-libs.patch 17794 +AUX hdf-4.2.1_p4-maxavailfiles.patch 491 RMD160 245e64df64f3dda423a18e061c6894fd7ee188b4 SHA1 ad20094d4ef5b813af28d004f4df462df9736a97 SHA256 5da74bf2e40c4a1584ec55baab02cc920986442c267a00144e16096e25820d21 +MD5 c5ab85c20917d4cb9c6ed50ea4dea6ae files/hdf-4.2.1_p4-maxavailfiles.patch 491 +RMD160 245e64df64f3dda423a18e061c6894fd7ee188b4 files/hdf-4.2.1_p4-maxavailfiles.patch 491 +SHA256 5da74bf2e40c4a1584ec55baab02cc920986442c267a00144e16096e25820d21 files/hdf-4.2.1_p4-maxavailfiles.patch 491 +AUX hdf-4.2.1_p4-shared-libs.patch 18425 RMD160 28e8ce637bba96330ddf18ddb89968b4312f29ff SHA1 9357b8b79c49674b95cee8bdc061a13fb7a9d5f7 SHA256 adbf5717ecdf9b6986c4697e34d9ed72908ea03289d73a02e3bcc042c4649734 +MD5 d46d6c3d346d45c9242591ea5b4ce5d4 files/hdf-4.2.1_p4-shared-libs.patch 18425 +RMD160 28e8ce637bba96330ddf18ddb89968b4312f29ff files/hdf-4.2.1_p4-shared-libs.patch 18425 +SHA256 adbf5717ecdf9b6986c4697e34d9ed72908ea03289d73a02e3bcc042c4649734 files/hdf-4.2.1_p4-shared-libs.patch 18425 +DIST 4.2r1-hrepack-p4.tar.gz 3932082 RMD160 b281b282d58d00f5f163381bff35cc5979591f0f SHA1 f7938df49aaec2ca382c898a2580052623f11d40 SHA256 6cebc6c7e7cd0d6b0cfc64f8c0d63470536532d66f5946bb79dfe50aa079c1be DIST hdf4.2r0.tar.gz 3738135 RMD160 b0a32930d85045d750ee3ef8a717c583946d6f9d SHA1 1b9feb2bfb34458b5af45b5c2d905f017c49033a SHA256 8e18fe97ae6c2f3c9135c9f4d2f26647e4dbb5a1ec7429f59647532cabbe07f5 -EBUILD hdf-4.2.0-r3.ebuild 2137 RMD160 d46382f1b35ce0edb7d1f57d5db356a92a658c27 SHA1 40833e88c6b0c32b1f07e97412f54fef53ed92d2 SHA256 f6ae8df76dd60295a49c17c290318943e2bb869694c0d68549895e0b0a412a1b -MD5 5478f5a5007a144268b33dd61d9d8340 hdf-4.2.0-r3.ebuild 2137 -RMD160 d46382f1b35ce0edb7d1f57d5db356a92a658c27 hdf-4.2.0-r3.ebuild 2137 -SHA256 f6ae8df76dd60295a49c17c290318943e2bb869694c0d68549895e0b0a412a1b hdf-4.2.0-r3.ebuild 2137 EBUILD hdf-4.2.0-r4.ebuild 2125 RMD160 7b7e5f54325ee65981ec0b66ed8e2d037313d059 SHA1 f9a865979dc976a3c01635391f3653f01abb20b1 SHA256 6ab9c7077ef954d5ea6e350e689bfff77cc83b459e29ad2b5a2412679ba8b45c MD5 c3ecadd34d315620a4ce32adc93c3165 hdf-4.2.0-r4.ebuild 2125 RMD160 7b7e5f54325ee65981ec0b66ed8e2d037313d059 hdf-4.2.0-r4.ebuild 2125 SHA256 6ab9c7077ef954d5ea6e350e689bfff77cc83b459e29ad2b5a2412679ba8b45c hdf-4.2.0-r4.ebuild 2125 -MISC ChangeLog 2222 RMD160 7d66a8dd62101760287dfb435bc126c8bdcef938 SHA1 8ec285a842ddb6988db2a3875e1ff20db0ba848f SHA256 afa711296f2ab31dc74e0f221a2a931c7c129941af2f0bf3a2c4c976639d1368 -MD5 8e3cb106dac41c16ebc94a543b92f7bc ChangeLog 2222 -RMD160 7d66a8dd62101760287dfb435bc126c8bdcef938 ChangeLog 2222 -SHA256 afa711296f2ab31dc74e0f221a2a931c7c129941af2f0bf3a2c4c976639d1368 ChangeLog 2222 -MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 -MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 -RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156 -SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 metadata.xml 156 -MD5 ef0a65d5c294f111d8e88ffec31a9ed3 files/digest-hdf-4.2.0-r3 229 -RMD160 5b703987853515d0b287f6a74b368f730649b692 files/digest-hdf-4.2.0-r3 229 -SHA256 b49cce27b63151197ed3025c90703c0ef8cd57785f44d49b38b77341cb56e192 files/digest-hdf-4.2.0-r3 229 +EBUILD hdf-4.2.1_p4.ebuild 2698 RMD160 22624261d0b8efc4618963a1552d4dab9f38e3f5 SHA1 0407265c13f01db16fdaf9de3109714c44b76ac8 SHA256 64dcf838f4168926e958974ac26c786fad7f1a3a2a89fe3ba2d0c139e6fc5822 +MD5 ee9b9e507f4f33c9c1e8858e80719d63 hdf-4.2.1_p4.ebuild 2698 +RMD160 22624261d0b8efc4618963a1552d4dab9f38e3f5 hdf-4.2.1_p4.ebuild 2698 +SHA256 64dcf838f4168926e958974ac26c786fad7f1a3a2a89fe3ba2d0c139e6fc5822 hdf-4.2.1_p4.ebuild 2698 +MISC ChangeLog 2567 RMD160 0496333ff097601dd7397c76db5a16f9ba09baf1 SHA1 9198e14d8498664a15c78749a1af032b80d0ae31 SHA256 44db0ebf8aec07eb43d59cf30dc7cf64076068ad561b75eb76043f8ae144b2f1 +MD5 7231ba7f7eb46109159091437ca421c1 ChangeLog 2567 +RMD160 0496333ff097601dd7397c76db5a16f9ba09baf1 ChangeLog 2567 +SHA256 44db0ebf8aec07eb43d59cf30dc7cf64076068ad561b75eb76043f8ae144b2f1 ChangeLog 2567 +MISC metadata.xml 717 RMD160 34fe26022a3513b0e45e645fdfd54da72a632145 SHA1 b2b4885eab7673508abca13a41bbb83255568f17 SHA256 5dda9fbf0aa7160df7b8d914f149da6f28f963085e2a482765622c8b755a9210 +MD5 097738f222f188b285e63cca0f214e8c metadata.xml 717 +RMD160 34fe26022a3513b0e45e645fdfd54da72a632145 metadata.xml 717 +SHA256 5dda9fbf0aa7160df7b8d914f149da6f28f963085e2a482765622c8b755a9210 metadata.xml 717 MD5 ef0a65d5c294f111d8e88ffec31a9ed3 files/digest-hdf-4.2.0-r4 229 RMD160 5b703987853515d0b287f6a74b368f730649b692 files/digest-hdf-4.2.0-r4 229 SHA256 b49cce27b63151197ed3025c90703c0ef8cd57785f44d49b38b77341cb56e192 files/digest-hdf-4.2.0-r4 229 +MD5 8203f8052e66ca5a69b3f6db35eb19fa files/digest-hdf-4.2.1_p4 253 +RMD160 4e1c49c081cb470dd40598512ba508fdca82e40d files/digest-hdf-4.2.1_p4 253 +SHA256 dcb0678dc617d63a5e58cd97a639fd79235edb23c75fac41b56be9bb29377cdf files/digest-hdf-4.2.1_p4 253 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.7 (GNU/Linux) + +iD8DBQFGxuDy1ycZbhPLE2ARAmBeAJ4wl6EsiVcYgQr+ljtLpeY3hqFh/ACfVIc/ +4DLk9qyje6VkAPWQit/jeL0= +=GcSK +-----END PGP SIGNATURE----- diff --git a/sci-libs/hdf/files/digest-hdf-4.2.0-r3 b/sci-libs/hdf/files/digest-hdf-4.2.0-r3 deleted file mode 100644 index 320263485394..000000000000 --- a/sci-libs/hdf/files/digest-hdf-4.2.0-r3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 9d3ee529a7f8464481c0cc241a92d076 hdf4.2r0.tar.gz 3738135 -RMD160 b0a32930d85045d750ee3ef8a717c583946d6f9d hdf4.2r0.tar.gz 3738135 -SHA256 8e18fe97ae6c2f3c9135c9f4d2f26647e4dbb5a1ec7429f59647532cabbe07f5 hdf4.2r0.tar.gz 3738135 diff --git a/sci-libs/hdf/files/digest-hdf-4.2.1_p4 b/sci-libs/hdf/files/digest-hdf-4.2.1_p4 new file mode 100644 index 000000000000..75b481de1038 --- /dev/null +++ b/sci-libs/hdf/files/digest-hdf-4.2.1_p4 @@ -0,0 +1,3 @@ +MD5 47e42192b00814d8f815b7b4f8243b01 4.2r1-hrepack-p4.tar.gz 3932082 +RMD160 b281b282d58d00f5f163381bff35cc5979591f0f 4.2r1-hrepack-p4.tar.gz 3932082 +SHA256 6cebc6c7e7cd0d6b0cfc64f8c0d63470536532d66f5946bb79dfe50aa079c1be 4.2r1-hrepack-p4.tar.gz 3932082 diff --git a/sci-libs/hdf/files/hdf-4.2.1_p4-maxavailfiles.patch b/sci-libs/hdf/files/hdf-4.2.1_p4-maxavailfiles.patch new file mode 100644 index 000000000000..b414718c8745 --- /dev/null +++ b/sci-libs/hdf/files/hdf-4.2.1_p4-maxavailfiles.patch @@ -0,0 +1,11 @@ +--- mfhdf/libsrc/file.c.orig 2007-08-17 19:29:53.599016858 +0100 ++++ mfhdf/libsrc/file.c 2007-08-17 19:29:11.936642654 +0100 +@@ -31,7 +31,7 @@ + + /* Maximum number of files can be opened at one time; subtract 3 from + the system allowed to account for stdin, stdout, and stderr */ +-#define MAX_AVAIL_OPENFILES (MAX_SYS_OPENFILES - 3) ++#define MAX_AVAIL_OPENFILES (MAX_SYS_OPENFILES - 10) + + static int _ncdf = 0 ; /* high water mark on open cdf's */ + static NC **_cdfs; diff --git a/sci-libs/hdf/files/hdf-4.2.1_p4-shared-libs.patch b/sci-libs/hdf/files/hdf-4.2.1_p4-shared-libs.patch new file mode 100644 index 000000000000..00c11a7ffc6e --- /dev/null +++ b/sci-libs/hdf/files/hdf-4.2.1_p4-shared-libs.patch @@ -0,0 +1,427 @@ +diff -Nur ../4.2r1-hrepack-p4.orig/configure.ac ./configure.ac +--- ../4.2r1-hrepack-p4.orig/configure.ac 2006-06-07 17:30:34.000000000 +0100 ++++ ./configure.ac 2007-08-17 22:22:33.950575795 +0100 +@@ -155,7 +155,7 @@ + AC_PROG_INSTALL + AM_PROG_LEX + AC_PROG_LN_S +-AC_PROG_RANLIB ++AC_PROG_LIBTOOL + AC_PROG_YACC + + AC_CHECK_PROGS([AR], [ar xar], [:], [$PATH]) +diff -Nur ../4.2r1-hrepack-p4.orig/hdf/src/Makefile.am ./hdf/src/Makefile.am +--- ../4.2r1-hrepack-p4.orig/hdf/src/Makefile.am 2003-12-10 21:13:16.000000000 +0000 ++++ ./hdf/src/Makefile.am 2007-08-17 22:22:35.146643955 +0100 +@@ -2,7 +2,7 @@ + ## Library to build ## + ############################################################################# + +-lib_LIBRARIES = libdf.a ++lib_LTLIBRARIES = libdf.la + + FSOURCES = df24ff.f dfanf.c dfanff.f dff.c dfff.f dfpf.c dfpff.f dfr8f.c \ + dfr8ff.f dfsdf.c dfsdff.f dfufp2if.f dfutilf.c herrf.c hfilef.c \ +@@ -26,10 +26,10 @@ + FHEADERS = dffunc.f90 hdf.f90 dffunc.inc hdf.inc + + if HDF_BUILD_FORTRAN +-libdf_a_SOURCES = $(CSOURCES) $(FSOURCES) ++libdf_la_SOURCES = $(CSOURCES) $(FSOURCES) + include_HEADERS = $(CHEADERS) $(FHEADERS) + else +-libdf_a_SOURCES = $(CSOURCES) ++libdf_la_SOURCES = $(CSOURCES) + include_HEADERS = $(CHEADERS) + endif + +diff -Nur ../4.2r1-hrepack-p4.orig/hdf/test/Makefile.am ./hdf/test/Makefile.am +--- ../4.2r1-hrepack-p4.orig/hdf/test/Makefile.am 2006-03-14 20:42:24.000000000 +0000 ++++ ./hdf/test/Makefile.am 2007-08-17 22:22:36.354712799 +0100 +@@ -21,20 +21,20 @@ + mgr.c nbit.c rig.c sdmms.c sdnmms.c sdstr.c slab.c tbv.c \ + tdupimgs.c testhdf.c tree.c tszip.c tvattr.c tvset.c \ + tvsfpack.c vers.c +-testhdf_LDADD = ../src/libdf.a +-testhdf_DEPENDENCIES = testdir ../src/libdf.a ++testhdf_LDADD = ../src/libdf.la ++testhdf_DEPENDENCIES = testdir ../src/libdf.la + + if HDF_BUILD_FORTRAN + fortest_SOURCES = fortest.c +-fortest_LDADD = ../src/libdf.a +-fortest_DEPENDENCIES = testdir fortestF ../src/libdf.a ++fortest_LDADD = ../src/libdf.la ++fortest_DEPENDENCIES = testdir fortestF ../src/libdf.la + + fortestF_SOURCES = forsupff.f forsupf.c fortestF.f manf.f mgrf.f slabwf.f \ + t24f.f tanf.f tanfilef.f tpf.f tr8f.f tsdmmsf.f \ + tsdnmmsf.f tsdnntf.f tsdntf.f tsdstrf.f tstubsf.f \ + tvattrf.f tvsetf.f +-fortestF_LDADD = ../src/libdf.a +-fortestF_DEPENDENCIES = testdir ../src/libdf.a ++fortestF_LDADD = ../src/libdf.la ++fortestF_DEPENDENCIES = testdir ../src/libdf.la + endif + + # On some platforms (RedStorm), tests need to be invoked with a certain +diff -Nur ../4.2r1-hrepack-p4.orig/hdf/util/Makefile.am ./hdf/util/Makefile.am +--- ../4.2r1-hrepack-p4.orig/hdf/util/Makefile.am 2003-12-10 21:13:45.000000000 +0000 ++++ ./hdf/util/Makefile.am 2007-08-17 22:22:37.510778680 +0100 +@@ -20,76 +20,76 @@ + endif + + gif2hdf_SOURCES = gif2hdf.c gif2mem.c gifread.c decompress.c writehdf.c +-gif2hdf_LDADD = ../src/libdf.a +-gif2hdf_DEPENDENCIES = ../src/libdf.a ++gif2hdf_LDADD = ../src/libdf.la ++gif2hdf_DEPENDENCIES = ../src/libdf.la + + hdf2gif_SOURCES = hdf2gif.c hdfgifwr.c +-hdf2gif_LDADD = ../src/libdf.a +-hdf2gif_DEPENDENCIES = ../src/libdf.a ++hdf2gif_LDADD = ../src/libdf.la ++hdf2gif_DEPENDENCIES = ../src/libdf.la + + hdf2jpeg_SOURCES = hdf2jpeg.c +-hdf2jpeg_LDADD = ../src/libdf.a +-hdf2jpeg_DEPENDENCIES = ../src/libdf.a ++hdf2jpeg_LDADD = ../src/libdf.la ++hdf2jpeg_DEPENDENCIES = ../src/libdf.la + + hdf24to8_SOURCES = hdf24to8.c +-hdf24to8_LDADD = ../src/libdf.a +-hdf24to8_DEPENDENCIES = ../src/libdf.a ++hdf24to8_LDADD = ../src/libdf.la ++hdf24to8_DEPENDENCIES = ../src/libdf.la + + hdf8to24_SOURCES = hdf8to24.c +-hdf8to24_LDADD = ../src/libdf.a +-hdf8to24_DEPENDENCIES = ../src/libdf.a ++hdf8to24_LDADD = ../src/libdf.la ++hdf8to24_DEPENDENCIES = ../src/libdf.la + + hdfcomp_SOURCES = hdfcomp.c +-hdfcomp_LDADD = ../src/libdf.a +-hdfcomp_DEPENDENCIES = ../src/libdf.a ++hdfcomp_LDADD = ../src/libdf.la ++hdfcomp_DEPENDENCIES = ../src/libdf.la + + hdfed_SOURCES = he_cntrl.c he_disp.c he_file.c he_main.c +-hdfed_LDADD = ../src/libdf.a +-hdfed_DEPENDENCIES = ../src/libdf.a ++hdfed_LDADD = ../src/libdf.la ++hdfed_DEPENDENCIES = ../src/libdf.la + + hdfls_SOURCES = hdfls.c +-hdfls_LDADD = ../src/libdf.a +-hdfls_DEPENDENCIES = ../src/libdf.a ++hdfls_LDADD = ../src/libdf.la ++hdfls_DEPENDENCIES = ../src/libdf.la + + hdfpack_SOURCES = hdfpack.c +-hdfpack_LDADD = ../src/libdf.a +-hdfpack_DEPENDENCIES = ../src/libdf.a ++hdfpack_LDADD = ../src/libdf.la ++hdfpack_DEPENDENCIES = ../src/libdf.la + + hdftopal_SOURCES = hdftopal.c +-hdftopal_LDADD = ../src/libdf.a +-hdftopal_DEPENDENCIES = ../src/libdf.a ++hdftopal_LDADD = ../src/libdf.la ++hdftopal_DEPENDENCIES = ../src/libdf.la + + hdftor8_SOURCES = hdftor8.c +-hdftor8_LDADD = ../src/libdf.a +-hdftor8_DEPENDENCIES = ../src/libdf.a ++hdftor8_LDADD = ../src/libdf.la ++hdftor8_DEPENDENCIES = ../src/libdf.la + + hdfunpac_SOURCES = hdfunpac.c +-hdfunpac_LDADD = ../src/libdf.a +-hdfunpac_DEPENDENCIES = ../src/libdf.a ++hdfunpac_LDADD = ../src/libdf.la ++hdfunpac_DEPENDENCIES = ../src/libdf.la + + jpeg2hdf_SOURCES = jpeg2hdf.c +-jpeg2hdf_LDADD = ../src/libdf.a +-jpeg2hdf_DEPENDENCIES = ../src/libdf.a ++jpeg2hdf_LDADD = ../src/libdf.la ++jpeg2hdf_DEPENDENCIES = ../src/libdf.la + + paltohdf_SOURCES = paltohdf.c +-paltohdf_LDADD = ../src/libdf.a +-paltohdf_DEPENDENCIES = ../src/libdf.a ++paltohdf_LDADD = ../src/libdf.la ++paltohdf_DEPENDENCIES = ../src/libdf.la + + r8tohdf_SOURCES = r8tohdf.c +-r8tohdf_LDADD = ../src/libdf.a +-r8tohdf_DEPENDENCIES = ../src/libdf.a ++r8tohdf_LDADD = ../src/libdf.la ++r8tohdf_DEPENDENCIES = ../src/libdf.la + + ristosds_SOURCES = ristosds.c +-ristosds_LDADD = ../src/libdf.a +-ristosds_DEPENDENCIES = ../src/libdf.a ++ristosds_LDADD = ../src/libdf.la ++ristosds_DEPENDENCIES = ../src/libdf.la + + vmake_SOURCES = vmake.c +-vmake_LDADD = ../src/libdf.a +-vmake_DEPENDENCIES = ../src/libdf.a ++vmake_LDADD = ../src/libdf.la ++vmake_DEPENDENCIES = ../src/libdf.la + + vshow_SOURCES = vshow.c +-vshow_LDADD = ../src/libdf.a +-vshow_DEPENDENCIES = ../src/libdf.a ++vshow_LDADD = ../src/libdf.la ++vshow_DEPENDENCIES = ../src/libdf.la + + ############################################################################# + ## Testing -- Here there be dragons. ## +diff -Nur ../4.2r1-hrepack-p4.orig/mfhdf/dumper/Makefile.am ./mfhdf/dumper/Makefile.am +--- ../4.2r1-hrepack-p4.orig/mfhdf/dumper/Makefile.am 2003-12-10 21:13:59.000000000 +0000 ++++ ./mfhdf/dumper/Makefile.am 2007-08-17 22:22:39.054866672 +0100 +@@ -18,8 +18,8 @@ + ## Information for building the "hdp" program + hdp_SOURCES = hdp.c hdp_dump.c hdp_gr.c hdp_list.c hdp_rig.c hdp_sds.c \ + hdp_util.c hdp_vd.c hdp_vg.c show.c +-hdp_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a @LIBS@ +-hdp_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a ++hdp_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la @LIBS@ ++hdp_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la + + ############################################################################# + ## Testing -- Here there be dragons. ## +diff -Nur ../4.2r1-hrepack-p4.orig/mfhdf/fortran/Makefile.am ./mfhdf/fortran/Makefile.am +--- ../4.2r1-hrepack-p4.orig/mfhdf/fortran/Makefile.am 2006-03-14 20:42:33.000000000 +0000 ++++ ./mfhdf/fortran/Makefile.am 2007-08-17 22:22:40.134928222 +0100 +@@ -19,13 +19,13 @@ + + ftest_SOURCES = ftest.f + ftest_LDADD = $(top_builddir)/hdf/test/forsupff.o $(top_builddir)/hdf/test/forsupf.o \ +- ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a @LIBS@ ++ ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la @LIBS@ + ftest_DEPENDENCIES = $(top_builddir)/hdf/test/forsupff.o $(top_builddir)/hdf/test/forsupf.o \ +- $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a ++ $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la + + hdftest_SOURCES = hdftest.f +-hdftest_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a @LIBS@ +-hdftest_DEPENDENCIES = testdir $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a ++hdftest_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la @LIBS@ ++hdftest_DEPENDENCIES = testdir $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la + + testdir: + -mkdir testdir +diff -Nur ../4.2r1-hrepack-p4.orig/mfhdf/hdfimport/Makefile.am ./mfhdf/hdfimport/Makefile.am +--- ../4.2r1-hrepack-p4.orig/mfhdf/hdfimport/Makefile.am 2005-10-10 18:14:02.000000000 +0100 ++++ ./mfhdf/hdfimport/Makefile.am 2007-08-17 22:22:40.810966747 +0100 +@@ -17,8 +17,8 @@ + bin_PROGRAMS = hdfimport + + hdfimport_SOURCES = hdfimport.c +-hdfimport_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a @LIBS@ +-hdfimport_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a ++hdfimport_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la @LIBS@ ++hdfimport_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la + + ############################################################################# + ## Testing -- Here there be dragons. ## +@@ -28,8 +28,8 @@ + check_SCRIPTS = testutil.sh + + hdfimporttest_SOURCES = hdfimporttest.c +-hdfimporttest_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a @LIBS@ +-hdfimporttest_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a ++hdfimporttest_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la @LIBS@ ++hdfimporttest_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la + + check: hdfimporttest$(EXEEXT) + @$(SHELL) ./testutil.sh +diff -Nur ../4.2r1-hrepack-p4.orig/mfhdf/hdiff/Makefile.am ./mfhdf/hdiff/Makefile.am +--- ../4.2r1-hrepack-p4.orig/mfhdf/hdiff/Makefile.am 2004-12-01 17:59:40.000000000 +0000 ++++ ./mfhdf/hdiff/Makefile.am 2007-08-17 22:22:41.242991366 +0100 +@@ -20,8 +20,8 @@ + hdiff_SOURCES = hdiff.c hdiff_array.c hdiff_gr.c hdiff_list.c hdiff_main.c \ + hdiff_mattbl.c hdiff_gattr.c hdiff_misc.c hdiff_sds.c \ + hdiff_table.c hdiff_vs.c +-hdiff_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a @LIBS@ +-hdiff_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a ++hdiff_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la @LIBS@ ++hdiff_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la + + ############################################################################# + ## Testing ## +@@ -32,8 +32,8 @@ + noinst_PROGRAMS = hdifftst + + hdifftst_SOURCES = hdifftst.c +-hdifftst_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a @LIBS@ +-hdifftst_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a ++hdifftst_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la @LIBS@ ++hdifftst_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la + + check: hdifftst + @srcdir="$(srcdir)" $(SHELL) $(srcdir)/testhdiff.sh +diff -Nur ../4.2r1-hrepack-p4.orig/mfhdf/hrepack/Makefile.am ./mfhdf/hrepack/Makefile.am +--- ../4.2r1-hrepack-p4.orig/mfhdf/hrepack/Makefile.am 2006-05-16 18:02:03.000000000 +0100 ++++ ./mfhdf/hrepack/Makefile.am 2007-08-17 22:22:41.551008919 +0100 +@@ -22,8 +22,8 @@ + hrepack_opttable.c hrepack_pal.c hrepack_parse.c \ + hrepack_sds.c hrepack_sdutil.c hrepack_utils.c \ + hrepack_vg.c hrepack_vs.c hrepack_mattbl.c hrepack_dim.c +-hrepack_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a +-hrepack_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a ++hrepack_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la ++hrepack_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la + + ############################################################################# + ## Testing -- Here there be dragons. ## +@@ -44,12 +44,12 @@ + ../hdiff/hdiff_mattbl.c ../hdiff/hdiff_misc.c \ + ../hdiff/hdiff_sds.c ../hdiff/hdiff_table.c \ + ../hdiff/hdiff_vs.c +-test_hrepack_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a +-test_hrepack_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a ++test_hrepack_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la ++test_hrepack_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la + + hrepack_check_SOURCES = hrepack_check.c +-hrepack_check_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a +-hrepack_check_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a ++hrepack_check_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la ++hrepack_check_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la + + check: test_hrepack$(EXEEXT) + @srcdir="$(srcdir)" $(SHELL) $(srcdir)/test_hrepack.sh +diff -Nur ../4.2r1-hrepack-p4.orig/mfhdf/libsrc/Makefile.am ./mfhdf/libsrc/Makefile.am +--- ../4.2r1-hrepack-p4.orig/mfhdf/libsrc/Makefile.am 2006-03-14 20:42:35.000000000 +0000 ++++ ./mfhdf/libsrc/Makefile.am 2007-08-17 22:22:41.575010287 +0100 +@@ -13,9 +13,9 @@ + ## Library to build ## + ############################################################################# + +-lib_LIBRARIES = libmfhdf.a ++lib_LTLIBRARIES = libmfhdf.la + +-## Information for building the "libmfhdf.a" library ++## Information for building the "libmfhdf.la" library + CSOURCES=array.c attr.c cdf.c dim.c file.c hdfsds.c iarray.c error.c \ + globdef.c mfsd.c nssdc.c putget.c putgetg.c sharray.c string.c \ + var.c xdrposix.c +@@ -25,17 +25,17 @@ + if HDF_BUILD_FORTRAN + + if HDF_BUILD_XDR +-libmfhdf_a_SOURCES = $(CSOURCES) $(FSOURCES) $(XDRSOURCES) ++libmfhdf_la_SOURCES = $(CSOURCES) $(FSOURCES) $(XDRSOURCES) + else +-libmfhdf_a_SOURCES = $(CSOURCES) $(FSOURCES) ++libmfhdf_la_SOURCES = $(CSOURCES) $(FSOURCES) + endif + + else + + if HDF_BUILD_XDR +-libmfhdf_a_SOURCES = $(CSOURCES) $(XDRSOURCES) ++libmfhdf_la_SOURCES = $(CSOURCES) $(XDRSOURCES) + else +-libmfhdf_a_SOURCES = $(CSOURCES) ++libmfhdf_la_SOURCES = $(CSOURCES) + endif + + endif +@@ -49,11 +49,11 @@ + check_PROGRAMS = cdftest hdftest + + cdftest_SOURCES = cdftest.c +-cdftest_LDADD = libmfhdf.a $(top_builddir)/hdf/src/libdf.a @LIBS@ ++cdftest_LDADD = libmfhdf.la $(top_builddir)/hdf/src/libdf.la @LIBS@ + + hdftest_SOURCES = hdftest.c tcoordvar.c temptySDSs.c tfile.c \ + tidtypes.c trank0.c tsd.c tszip.c +-hdftest_LDADD = libmfhdf.a $(top_builddir)/hdf/src/libdf.a @LIBS@ ++hdftest_LDADD = libmfhdf.la $(top_builddir)/hdf/src/libdf.la @LIBS@ + + check: + @echo "============================" +diff -Nur ../4.2r1-hrepack-p4.orig/mfhdf/ncdump/Makefile.am ./mfhdf/ncdump/Makefile.am +--- ../4.2r1-hrepack-p4.orig/mfhdf/ncdump/Makefile.am 2003-12-10 21:15:23.000000000 +0000 ++++ ./mfhdf/ncdump/Makefile.am 2007-08-17 22:22:41.611012339 +0100 +@@ -19,8 +19,8 @@ + + ## Information for building the "ncdump" program + ncdump_SOURCES = dumplib.c ncdump.c vardata.c +-ncdump_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a +-ncdump_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a ++ncdump_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la ++ncdump_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la + + check: ncdump $(srcdir)/test0.cdl + ../ncgen/ncgen -o test0.nc -n $(srcdir)/test0.cdl +diff -Nur ../4.2r1-hrepack-p4.orig/mfhdf/ncgen/Makefile.am ./mfhdf/ncgen/Makefile.am +--- ../4.2r1-hrepack-p4.orig/mfhdf/ncgen/Makefile.am 2005-10-10 18:14:04.000000000 +0100 ++++ ./mfhdf/ncgen/Makefile.am 2007-08-17 23:44:29.786096870 +0100 +@@ -16,17 +16,11 @@ + + bin_PROGRAMS = ncgen + +-if HDF_BUILD_FORTRAN +-noinst_PROGRAMS = ctest0 ftest0 +-else +-noinst_PROGRAMS = ctest0 +-endif +- + ## Information for building the "ncgen" program + ncgen_SOURCES = close.c escapes.c generate.c genlib.c getfill.c init.c \ + load.c main.c ncgentab.c +-ncgen_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a +-ncgen_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a ++ncgen_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la ++ncgen_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la + + ctest0_SOURCES= + ftest0_SOURCES= +@@ -91,7 +85,7 @@ + + ftest0$(EXEEXT): ncgen test0.cdl netcdf.inc + ./ncgen -f -o ftest0.nc $(srcdir)/test0.cdl > test0.f +- $(F77) $(FFLAGS) -o $@ test0.f $(LDFLAGS) $(ncgen_LDADD) $(LIBS) ++ $(LIBTOOL) --mode=link --tag=F77 $(F77) $(AM_FFLAGS) $(FFLAGS) -o $@ test0.f $(LDFLAGS) $(ncgen_LDADD) $(LIBS) + endif + + netcdf.inc: +@@ -105,7 +99,7 @@ + + ctest0$(EXEEXT): ncgen $(srcdir)/test0.cdl + ./ncgen -c -o ctest0.nc $(srcdir)/test0.cdl > test0.c +- $(COMPILE) -o $@ test0.c $(LDFLAGS) $(ncgen_LDADD) $(LIBS) ++ $(LINK) -o $@ test0.c $(LDFLAGS) $(ncgen_LDADD) $(LIBS) + + ############################################################################# + ## Miscellaneous ## +diff -Nur ../4.2r1-hrepack-p4.orig/mfhdf/nctest/Makefile.am ./mfhdf/nctest/Makefile.am +--- ../4.2r1-hrepack-p4.orig/mfhdf/nctest/Makefile.am 2006-03-14 20:42:37.000000000 +0000 ++++ ./mfhdf/nctest/Makefile.am 2007-08-17 22:22:41.627013251 +0100 +@@ -22,8 +22,8 @@ + error.c misctest.c rec.c slabs.c val.c varget_unlim.c \ + varget.c vargetg.c varput.c varputg.c vardef.c vartests.c \ + vputget.c vputgetg.c +-nctest_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a +-nctest_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.a ../libsrc/libmfhdf.a ++nctest_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la ++nctest_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la + + # On some platforms (RedStorm), tests need to be invoked with a certain + # command. HDF traditionally uses RUNSERIAL to hold the name of this +diff -Nur ../4.2r1-hrepack-p4.orig/mfhdf/port/Makefile.am ./mfhdf/port/Makefile.am +--- ../4.2r1-hrepack-p4.orig/mfhdf/port/Makefile.am 2004-12-01 17:59:45.000000000 +0000 ++++ ./mfhdf/port/Makefile.am 2007-08-17 22:22:41.651014618 +0100 +@@ -1,2 +1,2 @@ +-noinst_LIBRARIES = libudport.a +-libudport_a_SOURCES = uddummy.c ++noinst_LTLIBRARIES = libudport.la ++libudport_la_SOURCES = uddummy.c diff --git a/sci-libs/hdf/hdf-4.2.0-r3.ebuild b/sci-libs/hdf/hdf-4.2.0-r3.ebuild deleted file mode 100644 index 736419215484..000000000000 --- a/sci-libs/hdf/hdf-4.2.0-r3.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2005 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.3 2005/01/25 22:05:47 kugelfang Exp $ - -inherit flag-o-matic fortran - -# 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? ( sci-libs/szip )" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-shared-libs.patch -} - -src_compile() { - # We need shared libraries, see BUG #75415. - # To use libtool for shared libs, we need above patch and the following lines. - # Danny van Dyk <kugelfang@gentoo.org> 2005/01/24 - aclocal - libtoolize --copy --force - automake --add-missing - autoconf - - # BUG #75415, the shipped config/linux-gnu settings are broken. - # -Wsign-compare does not work with g77, causing lack of -fPIC for shared - # objects. - sed -i -e 's|-Wsign-compare||g' ${S}/config/linux-gnu - - 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/hdf-4.2.1_p4.ebuild b/sci-libs/hdf/hdf-4.2.1_p4.ebuild new file mode 100644 index 000000000000..8595934da72e --- /dev/null +++ b/sci-libs/hdf/hdf-4.2.1_p4.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf/hdf-4.2.1_p4.ebuild,v 1.1 2007/08/18 12:07:07 bicatali Exp $ + +inherit versionator autotools flag-o-matic fortran + +MY_PN="${PN/hdf/HDF}" +#4.2.1_p4 -> 4.2r1-hrepack-p4 +MY_PV=$(printf '%d.%dr%d-hrepack-%s' $(get_version_components)) + +DESCRIPTION="HDF4 is a general purpose library and file format for storing scientific data." + +#SRC_URI="ftp://ftp.hdfgroup.org/HDF/HDF_Current/src/${MY_PN}${MY_PV}.tar.gz" +#S="${WORKDIR}/${MY_PN}${MY_PV}" +SRC_URI="ftp://ftp.hdfgroup.org/HDF/HDF_Current/src/patches/${MY_PV}.tar.gz" +S="${WORKDIR}/${MY_PV}" + +HOMEPAGE="http://www.hdfgroup.org/hdf4.html" + +LICENSE="NCSA-HDF" +KEYWORDS="~amd64 ~ppc ~x86" +SLOT="0" +IUSE="szip test" + +RDEPEND="sys-libs/zlib + media-libs/jpeg + szip? ( >=sci-libs/szip-2.0 )" + +DEPEND="${RDEPEND} + >=sys-apps/sed-4 + test? ( sci-libs/netcdf )" + +src_unpack() { + unpack ${A} + + cd "${S}" + + # We need shared libraries, see BUG #75415. + # Danny van Dyk <kugelfang@gentoo.org> 2005/01/24 + epatch "${FILESDIR}"/${P}-shared-libs.patch + + epatch "${FILESDIR}"/${P}-maxavailfiles.patch + + if use test; then + sed -i \ + -e 's/$(LIBS)/$(LIBS) -lnetcdf/g' \ + mfhdf/ncgen/Makefile.am || die "sed for test failed" + fi + + # sed for a test: might be gone in future gfortran version + sed -i \ + -e 's|"||g' \ + hdf/test/fortestF.f || die "failed fixing fortestF.f" + + eautoreconf +} + +src_compile() { + # BUG #75415, the shipped config/linux-gnu settings are broken. + # -Wsign-compare does not work with g77, causing lack of -fPIC for shared + # objects. + sed -i \ + -e 's|-O3 -fomit-frame-pointer||g' \ + -e 's|-Wsign-compare||g' \ + "${S}"/config/linux-gnu || die "sed failed" + + use ppc && append-flags -DSUN + append-flags -DHAVE_NETCDF + + econf \ + --enable-production \ + $(use_with szip) \ + F77="${FORTRANC}" \ + || die "econf failed" + + emake || die "emake failed" +} + +src_test() { + emake -j1 check || die "emake check failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README release_notes/*.txt || die "dodoc failed" + + cd "${D}" + einfo "Renaming included versions of ncdump and ncgen to hdfdump and hdfgen, respectively." + mv -v usr/bin/ncgen usr/bin/hdfgen || die + mv -v usr/bin/ncdump usr/bin/hdfdump || die + mv -v usr/share/man/man1/ncgen.1 usr/share/man/man1/hdfgen.1 || die + mv -v usr/share/man/man1/ncdump.1 usr/share/man/man1/hdfdump.1 || die + 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 || die + rm -v usr/include/netcdf.h || die + fi +} diff --git a/sci-libs/hdf/metadata.xml b/sci-libs/hdf/metadata.xml index b229aec85b8f..a20a8c1aa04d 100644 --- a/sci-libs/hdf/metadata.xml +++ b/sci-libs/hdf/metadata.xml @@ -2,4 +2,15 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>sci</herd> +<longdescription lang="en"> +HDF is a general purpose library and file format for storing +scientific data. +HDF can store two primary objects: datasets and groups. A dataset is +essentially a multidimensional array of data elements, and a group is +a structure for organizing objects in an HDF file. Using these two basic +objects, one can create and store almost any kind of scientific data +structure, such as images, arrays of vectors, and structured and +unstructured grids. You can also mix and match them in HDF files +according to your needs. +</longdescription> </pkgmetadata> |