Version bump and major cleaning.
authorSebastien Fabbro <bicatali@gentoo.org>
Thu, 19 Apr 2007 12:05:07 +0000 (12:05 +0000)
committerSebastien Fabbro <bicatali@gentoo.org>
Thu, 19 Apr 2007 12:05:07 +0000 (12:05 +0000)
Package-Manager: portage-2.1.2.2

sci-libs/cdf/ChangeLog
sci-libs/cdf/Manifest
sci-libs/cdf/cdf-3.1.ebuild [new file with mode: 0644]
sci-libs/cdf/files/50cdf [new file with mode: 0644]
sci-libs/cdf/files/cdf-Makefile.patch [new file with mode: 0644]
sci-libs/cdf/files/cdf-soname.patch [new file with mode: 0644]
sci-libs/cdf/files/digest-cdf-3.1 [new file with mode: 0644]
sci-libs/cdf/metadata.xml

index c5a4f6f93cbee1d811461ecc0f622b42e468d4a7..e5879961213322cd00c6b3df11e123ab7bdda6f5 100644 (file)
@@ -1,6 +1,15 @@
 # ChangeLog for sci-libs/cdf
 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cdf/ChangeLog,v 1.4 2007/02/09 08:26:29 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cdf/ChangeLog,v 1.5 2007/04/19 12:05:07 bicatali Exp $
+
+*cdf-3.1 (19 Apr 2007)
+
+  19 Apr 2007; Sébastien Fabbro <bicatali@gentoo.org> +files/50cdf,
+  +files/cdf-Makefile.patch, +files/cdf-soname.patch, metadata.xml,
+  +cdf-3.1.ebuild:
+  Version bump and major ebuild cleaning. Added doc and examples flags, a
+  couple of patches to handle flags and shared libraries properly. Added longdescription in 
+  metadata.xml. Closing bug #125409, thanks carlo@gentoo.org for his initial ebuild.
 
   09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
   Regenerate digest in Manifest2 format.
index 11adfc4b6b9d1890b7ce4dcfb50ec2cb127a43e3..082c77459889516922c4a83f17c4192ef36eff51 100644 (file)
@@ -1,27 +1,53 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
+AUX 50cdf 124 RMD160 5679d93455dbd245d61bbf426cf23c6dd95112a7 SHA1 516aecfa3edb8cfd7ad4dc386321545e9463dc0c SHA256 030452ff70f6c05eca8776976b7f2ab15c74a189065a6dda1a7b8eb32de953a2
+MD5 cd129b34ec0959c8a98e2b66e24b25c9 files/50cdf 124
+RMD160 5679d93455dbd245d61bbf426cf23c6dd95112a7 files/50cdf 124
+SHA256 030452ff70f6c05eca8776976b7f2ab15c74a189065a6dda1a7b8eb32de953a2 files/50cdf 124
+AUX cdf-Makefile.patch 2944 RMD160 b996c4bdc7c98a80e74f2dd4fcbea0255033a3d4 SHA1 ecf781d1aa419cfd36b026c6437a4df58da6fc45 SHA256 84e1026b52330d354e33c074ad7ec2007cb3e6fab4cd0563ae9ea75b1a9f3237
+MD5 5d08041887692a79177bde7a151390d9 files/cdf-Makefile.patch 2944
+RMD160 b996c4bdc7c98a80e74f2dd4fcbea0255033a3d4 files/cdf-Makefile.patch 2944
+SHA256 84e1026b52330d354e33c074ad7ec2007cb3e6fab4cd0563ae9ea75b1a9f3237 files/cdf-Makefile.patch 2944
+AUX cdf-soname.patch 743 RMD160 85883f2fe7394be9b9b7b0220467170e38f199d5 SHA1 fd292a9e74efb43cdebfc13a7269fecfddfd5ba6 SHA256 813c0a608a38594c9af12af845396fb104996263dda883e5f384b409dbe972d1
+MD5 cade4e0919de25f241946a6178c7b99c files/cdf-soname.patch 743
+RMD160 85883f2fe7394be9b9b7b0220467170e38f199d5 files/cdf-soname.patch 743
+SHA256 813c0a608a38594c9af12af845396fb104996263dda883e5f384b409dbe972d1 files/cdf-soname.patch 743
 DIST cdf27-dist-cdf.tar.gz 872734 RMD160 69a8fb9d63d1f6e635e85b15dc886b5f96c008b3 SHA1 29fae1be51fdeec486728deb471d4a9e79687924 SHA256 eb17bb74bc3b5338d1b4f0139744257f3a5a7c0ff89f7f7015def546ef9d02fd
 DIST cdf27-dist-java.tar.gz 552932 RMD160 1f322fa313f749463eab4999f30804a2ff4ee87e SHA1 c3614beb805fbc6c17a0aa80f2bf0ac8911aadca SHA256 366cc03593511b35973bd44fd590f67aa22a3701b5f1c26cbed4172c666915fd
+DIST cdf31-dist-cdf.tar.gz 934350 RMD160 d9cbc778e8435113b58d68fbc6c4ec749941ca58 SHA1 1f2b8863e640ac7d1cb1ac7a769a26e80168fadf SHA256 62961877b2912c70e813f97f5226de808dc108e637638197ac88fc52ab5dbfec
+DIST cdf31-dist-java.tar.gz 689947 RMD160 5f136e3dfaed34e42c823f759aa796f7ce60a166 SHA1 31de723739fc8a6de7fba919ebd0d37c735926ac SHA256 89222f8abe4d336055a21a645da32515ebde69eec76863f87a82cd9440cd01fd
+DIST cdf31crm.pdf 809352 RMD160 9230cdf6ff1f91b7278c9f7db738f4f2138c6bb9 SHA1 0174d1fb95ee0b6f067692bee76b78c634f6a5b6 SHA256 d511236bb5ddc5ba19a97cded9ee4616ce055bb39efb74648acff0d50da6b667
+DIST cdf31frm.pdf 823902 RMD160 244531c2db48416f82fd34ac53c5c0075d3ac67d SHA1 1fa371c70dc3de4f7f14135e7df5d33ae1d7bbee SHA256 7dbcd03fb31d3727f3814828c6a8f6cd8770bae509173862341a9b6856486293
+DIST cdf31ifd.pdf 172971 RMD160 a00747e67b97d5d559dce8b7ccfd81f01dcf4c36 SHA1 629fba2c6e6d19dfb09c4b165b44c4ce74fbcb54 SHA256 6a1b3b85fc059889d813e5b00b6a6824ae16e173be69659461679921fbeed349
+DIST cdf31jrm.pdf 2505807 RMD160 3d881a472abdb2b0290bc2c568d94913b2d35a89 SHA1 966d79a64909f24a6701cc3a1d632c76f6abc7e5 SHA256 70f0f3017430e636c1cffc0c146a0f6bc6bf0fc3ee457063ef7cdc2d2bffa011
+DIST cdf31ug.pdf 800633 RMD160 c29a3f85fd766d4476101178175cdbad24f967ff SHA1 bd89197d2b93b3fe57c545e52018265f949d828b SHA256 02b34ae9e001f2bf12c83912f6e803cbe6e58bcd7ec11ab3787fe89e0fc86198
 EBUILD cdf-2.7.ebuild 1570 RMD160 1ee6de50232b23e93edbfff8c6f07a103090f957 SHA1 042b0df0e0278364fa623b2f9e1f1b7fa6cd6f7c SHA256 9d107b68e8d276c049791fe3adf0463e9165af5ac05f059a01be4d01f56bf164
 MD5 12b71d4f7d43a12b599dec29210a41e9 cdf-2.7.ebuild 1570
 RMD160 1ee6de50232b23e93edbfff8c6f07a103090f957 cdf-2.7.ebuild 1570
 SHA256 9d107b68e8d276c049791fe3adf0463e9165af5ac05f059a01be4d01f56bf164 cdf-2.7.ebuild 1570
-MISC ChangeLog 754 RMD160 1c8e8d7cec3a70c5cf9247784f237919be07560c SHA1 749989b4733e41d5b4baedb2ab2aca008d319251 SHA256 6b079ae7ee64a0f8239ce6b4cfc5d4d69dbdaac87bca38d43cc0fa89a1b1b5db
-MD5 30f585b48e75209aabf7b9473c082796 ChangeLog 754
-RMD160 1c8e8d7cec3a70c5cf9247784f237919be07560c ChangeLog 754
-SHA256 6b079ae7ee64a0f8239ce6b4cfc5d4d69dbdaac87bca38d43cc0fa89a1b1b5db ChangeLog 754
-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
+EBUILD cdf-3.1.ebuild 3261 RMD160 4d2475e02c146388c4a94a2aa04b2659cd1869b8 SHA1 94a058c2c15ac7475157f0f0ff4953f5ce57dd66 SHA256 90c7fa413a60880dee8ebe9168eae3f713127f12decd0c74c5013f84adfb3243
+MD5 e23c264ed0e8fbc7248514fac1f545ba cdf-3.1.ebuild 3261
+RMD160 4d2475e02c146388c4a94a2aa04b2659cd1869b8 cdf-3.1.ebuild 3261
+SHA256 90c7fa413a60880dee8ebe9168eae3f713127f12decd0c74c5013f84adfb3243 cdf-3.1.ebuild 3261
+MISC ChangeLog 1186 RMD160 28322cb43b1fa3516f387207132b723c43ca3cc6 SHA1 3ac4439b16dd36bdf9e1b8d4b0ac9760bc867efb SHA256 fd58b419ab80cff128c7c56c613d226056d4ea56f1953e8a82b91746aecd3c4c
+MD5 b63d8068f9ebef1430e09ffde4dfb449 ChangeLog 1186
+RMD160 28322cb43b1fa3516f387207132b723c43ca3cc6 ChangeLog 1186
+SHA256 fd58b419ab80cff128c7c56c613d226056d4ea56f1953e8a82b91746aecd3c4c ChangeLog 1186
+MISC metadata.xml 920 RMD160 19216d66dfe3e690c26b89013e697a848ad3190d SHA1 cfbaedc3d345509812ce3339f4f06d5b31ab034c SHA256 da95dbe621a4e9b48b392bd653c1b0b25f74c5eb2cd3bb8046cf0eeb88066f5f
+MD5 7d56b51e478c4be132775f2caf6e8aea metadata.xml 920
+RMD160 19216d66dfe3e690c26b89013e697a848ad3190d metadata.xml 920
+SHA256 da95dbe621a4e9b48b392bd653c1b0b25f74c5eb2cd3bb8046cf0eeb88066f5f metadata.xml 920
 MD5 7240aeed79908ae2a93c11553b9af6be files/digest-cdf-2.7 491
 RMD160 a4616f1410e8915c22d4e233574a67d384fbb1ce files/digest-cdf-2.7 491
 SHA256 8c1f96874ef61613dc3e54cc3acdfb980f65974e7807f25091073ddb1809603a files/digest-cdf-2.7 491
+MD5 c89f01bb3c4f5844dba4493b5f8bbd63 files/digest-cdf-3.1 1576
+RMD160 782a32803f4ae55671a561b764e630e2c1d8e510 files/digest-cdf-3.1 1576
+SHA256 92ecce5747a7c2990ccd7f27c031810fbfcfb11507d3400bf22ac3244fee0753 files/digest-cdf-3.1 1576
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
+Version: GnuPG v1.4.6 (GNU/Linux)
 
-iD8DBQFFzDA7AiZjviIA2XgRAoeJAKDnpCfGbJwh1/Xarpl8tGPcecFY3QCguBYY
-wTYMywOANEGRZvrZ5zgZkkA=
-=/ScJ
+iD8DBQFGJ1r81ycZbhPLE2ARAs8UAJ446aPg/NX9eRFKBAqbapf6akGcxgCeJmgI
+/BnPkVXjSuDq4RoEVode/KY=
+=GIF9
 -----END PGP SIGNATURE-----
diff --git a/sci-libs/cdf/cdf-3.1.ebuild b/sci-libs/cdf/cdf-3.1.ebuild
new file mode 100644 (file)
index 0000000..d1a6864
--- /dev/null
@@ -0,0 +1,120 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cdf/cdf-3.1.ebuild,v 1.1 2007/04/19 12:05:07 bicatali Exp $
+
+inherit eutils toolchain-funcs multilib
+
+MY_P="${P/-}"
+MY_P="${MY_P/.}"
+
+DESCRIPTION="Common Data Format I/O library for multi-dimensional data sets"
+HOMEPAGE="http://cdf.gsfc.nasa.gov/"
+SRC_URI="ftp://rumba.gsfc.nasa.gov/pub/${PN}/dist/${MY_P}/unix/${MY_P}-dist-${PN}.tar.gz
+       java? ( ftp://rumba.gsfc.nasa.gov/pub/${PN}/dist/${MY_P}/unix/${MY_P}-dist-java.tar.gz )
+       doc? ( ftp://rumba.gsfc.nasa.gov/pub/${PN}/dist/${MY_P}/unix/${MY_P}_documentation/${MY_P}ug.pdf
+               ftp://rumba.gsfc.nasa.gov/pub/${PN}/dist/${MY_P}/unix/${MY_P}_documentation/${MY_P}crm.pdf
+               ftp://rumba.gsfc.nasa.gov/pub/${PN}/dist/${MY_P}/unix/${MY_P}_documentation/${MY_P}frm.pdf
+               ftp://rumba.gsfc.nasa.gov/pub/${PN}/dist/${MY_P}/unix/${MY_P}_documentation/${MY_P}ifd.pdf
+               java? ( ftp://rumba.gsfc.nasa.gov/pub/${PN}/dist/${MY_P}/unix/${MY_P}_documentation/${MY_P}jrm.pdf ) )"
+
+LICENSE="CDF"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="ncurses java doc examples"
+
+RDEPEND="ncurses? ( sys-libs/ncurses )"
+DEPEND="${RDEPEND}
+               java? ( virtual/jdk
+                               dev-java/java-config )"
+
+S=${WORKDIR}/${MY_P}-dist
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       # respect cflags, remove useless scripts
+       epatch "${FILESDIR}"/${PN}-Makefile.patch
+       epatch "${FILESDIR}"/${PN}-soname.patch
+       # use proper lib dir
+       sed -i \
+               -e "s:\$(INSTALLDIR)/lib:\$(INSTALLDIR)/$(get_libdir):g" \
+               Makefile || die "sed failed"
+}
+
+src_compile() {
+       local myconf
+       if use ncurses; then
+               myconf="${myconf} CURSES=yes"
+       else
+               myconf="${myconf} CURSES=no"
+       fi
+       PV_SO=${PV:0:1}
+       make \
+               OS=linux \
+               ENV=gnu \
+               SHARED=yes \
+               SHAREDEXT_linux=so.${PV_SO} \
+               ${myconf} \
+               all || die "make failed"
+
+       if use java; then
+               export CDF_BASE="${S}"
+               export CDF_LIB="${S}/src/lib"
+               cd cdfjava/jni
+               $(tc-getCC) \
+                       ${CFLAGS} -fPIC \
+                       -I${CDF_BASE}/src/include \
+                       -I$(java-config -O)/include \
+                       -I$(java-config -O)/include/linux \
+                       -c cdfNativeLibrary.c \
+                       -o cdfNativeLibrary.o \
+                       || die "compiling java lib failed"
+               $(tc-getLD) \
+                       -L${CDF_LIB} -lcdf -lm \
+                       -shared cdfNativeLibrary.o \
+                       -soname=libcdfNativeLibrary.so.${PV_SO} \
+                       -o libcdfNativeLibrary.so.${PV_SO} \
+                       || die "linking java lib failed"
+       fi
+}
+
+src_test() {
+       make test || die "test failed"
+}
+
+src_install() {
+       dodir /usr/bin
+       dodir /usr/$(get_libdir)
+       make \
+               INSTALLDIR="${D}usr" \
+               SHAREDEXT=so.${PV_SO} \
+               install || die "make install failed"
+       dosym libcdf.so.${PV_SO} /usr/$(get_libdir)/libcdf.so
+
+       dodoc Release.notes README_CDF_tools.txt CHANGES.txt Welcome.txt
+       doenvd "${FILESDIR}"/50cdf
+
+       if use doc; then
+               insinto /usr/share/doc/${PF}
+               doins "${DISTDIR}"/${MY_P}*.pdf
+               use java || rm ${D}/usr/share/doc/${PF}/${MY_P}jrm.pdf
+       fi
+
+       if use examples; then
+               insinsto /usr/share/doc/${PF}/examples
+               doins samples/*
+       fi
+
+       if use java; then
+               cd cdfjava
+               dolib.so jni/libcdfNativeLibrary.so.${PV_SO}
+               dosym libcdfNativeLibrary.so.${PV_SO} /usr/$(get_libdir)/libcdfNativeLibrary.so
+               insinto /usr/share/cdf
+               doins */*.jar
+               if use examples; then
+                       insinsto /usr/share/doc/${PF}/examples/java
+                       doins examples/*
+               fi
+       fi
+
+}
diff --git a/sci-libs/cdf/files/50cdf b/sci-libs/cdf/files/50cdf
new file mode 100644 (file)
index 0000000..d967cbe
--- /dev/null
@@ -0,0 +1,5 @@
+CDF_BASE=/usr
+CDF_INC=${CDF_BASE}/include
+CDF_LIB=${CDF_BASE}/lib
+CDF_BIN=${CDF_BASE}/bin
+CDF_HELP=${CDF_BASE}/lib/cdf/help
diff --git a/sci-libs/cdf/files/cdf-Makefile.patch b/sci-libs/cdf/files/cdf-Makefile.patch
new file mode 100644 (file)
index 0000000..edf6550
--- /dev/null
@@ -0,0 +1,80 @@
+--- Makefile.orig      2007-04-19 11:32:17.940863000 +0100
++++ Makefile   2007-04-19 12:00:47.449801500 +0100
+@@ -628,17 +628,17 @@
+ "PIC=$(PIC_$(OS)_$(ENV))" \
+ "CCx=$(CC_$(OS)_$(ENV))" \
+ "LDx=$(LD_$(OS)_$(ENV))" \
+-"COPTIONS=$(COPTIONS_$(OS)_$(ENV))" \
++"COPTIONS=$(CFLAGS) $(COPTIONS_$(OS)_$(ENV))" \
+ "SYSLIBS=$(SYSLIBSshr_$(OS)_$(ENV))" \
+ "SHAREDEXT=$(SHAREDEXT_$(OS))" \
+-"LDOPTIONS=$(LDOPTIONS_$(OS)_$(ENV))" \
++"LDOPTIONS=$(LDFLAGS) $(LDOPTIONS_$(OS)_$(ENV))" \
+ "AROPTIONS=$(AROPTIONS_$(OS))" \
+ "RANLIB=$(RANLIB_$(OS))" \
+ all
+       @cd $(TOOLSsrcDIR); $(MAKE) \
+ "CURSES=$(AND.$(CURSES).$(CURSES_$(OS)_$(ENV)))" \
+ "CCx=$(CC_$(OS)_$(ENV))" \
+-"COPTIONS=$(COPTIONS_$(OS)_$(ENV))" \
++"COPTIONS=$(CFLAGS) $(COPTIONS_$(OS)_$(ENV))" \
+ "COPTIONSld=$(COPTIONSld_$(OS)_$(ENV))" \
+ "SYSLIBS=$(SYSLIBSexe_$(OS)_$(ENV))" \
+ "CURSESLIB=$(CURSESLIB_$(OS)_$(ENV))" \
+@@ -648,7 +648,7 @@
+ "FCx=$(FC_$(OS))" \
+ "CCx=$(CC_$(OS)_$(ENV))" \
+ "SHARED=$(AND.$(SHARED).$(SHARED_$(OS)))" \
+-"FOPTIONS=$(FOPTIONS_$(OS)) $(FOPTIONS_$(OS)_$(ENV))" \
++"FOPTIONS=$(FFLAGS) $(FOPTIONS_$(OS)) $(FOPTIONS_$(OS)_$(ENV))" \
+ "FOPTIONSld=$(FOPTIONSld_$(OS)) $(FOPTIONSld_$(OS)_$(ENV))" \
+ "COPTIONS=$(COPTIONS_$(OS)_$(ENV))" \
+ "COPTIONSld=$(COPTIONSld_$(OS)_$(ENV))" \
+@@ -676,14 +676,19 @@
+ install: install.$(PART)
+ install.all: install.definitions install.include install.lib \
+-           install.tools install.help_ notify.user
++           install.tools install.help_
+-install.definitions: create.bin copy.definitions change.definitions
++install.definitions: create.bin
+ install.include: create.include copy.include
+ install.tools: create.bin copy.tools
+ install.help_: create.help copy.help
+ install.lib: create.lib copy.lib.a
++      @if [ -f $(LIBsrcDIR)/libcdf.$(SHAREDEXT) ] ; then \
++         $(MAKE) "INSTALLDIR=$(INSTALLDIR)" install.lib.so ; \
++       else \
++         $(NULL) ; \
++       fi
+       @if [ -f $(LIBsrcDIR)/libcdf.so ] ; then \
+          $(MAKE) "INSTALLDIR=$(INSTALLDIR)" install.lib.so ; \
+        else \
+@@ -778,8 +783,8 @@
+             cp $(INCsrcDIR)/cdfconfig.h $(INSTALLDIR)/include
+ copy.lib.so:
+-      @echo cp $(LIBsrcDIR)/libcdf.so $(INSTALLDIR)/lib
+-            cp $(LIBsrcDIR)/libcdf.so $(INSTALLDIR)/lib
++      @echo cp $(LIBsrcDIR)/libcdf.$(SHAREDEXT) $(INSTALLDIR)/lib
++            cp $(LIBsrcDIR)/libcdf.$(SHAREDEXT) $(INSTALLDIR)/lib
+ copy.lib.sl:
+       @echo cp $(LIBsrcDIR)/libcdf.sl $(INSTALLDIR)/lib
+@@ -1787,12 +1792,12 @@
+       @echo FOPTIONS=$(FOPTIONS_$(OS))
+       @echo FOPTIONSld=$(FOPTIONSld_$(OS))
+       @echo SHAREDEXT=$(SHAREDEXT_$(OS))
+-      @echo LDOPTIONSlibcdf=$(LDOPTIONS_$(OS)_$(ENV))
++      @echo LDOPTIONSlibcdf=$(LDFLAGS) $(LDOPTIONS_$(OS)_$(ENV))
+       @echo RANLIB=$(RANLIB_$(OS))
+       @echo FCx=$(FC_$(OS))
+       @echo CCx=$(CC_$(OS)_$(ENV))
+       @echo PIC=$(PIC_$(OS)_$(ENV))
+-      @echo COPTIONS=$(COPTIONS_$(OS)_$(ENV))
++      @echo COPTIONS=$(CFLAGS) $(COPTIONS_$(OS)_$(ENV))
+       @echo COPTIONSld=$(COPTIONSld_$(OS)_$(ENV))
+       @echo CURSESLIB=$(CURSESLIB_$(OS)_$(ENV))
+       @echo SYSLIBSexe=$(SYSLIBSexe_$(OS)_$(ENV))
diff --git a/sci-libs/cdf/files/cdf-soname.patch b/sci-libs/cdf/files/cdf-soname.patch
new file mode 100644 (file)
index 0000000..00c1a61
--- /dev/null
@@ -0,0 +1,22 @@
+--- src/lib/Makefile.orig      2007-04-19 11:37:42.148327750 +0100
++++ src/lib/Makefile   2007-04-19 12:18:40.109867500 +0100
+@@ -92,7 +92,7 @@
+ shared.yes: libcdf.$(SHAREDEXT)
+-libcdf.so \
++libcdf.$(SHAREDEXT) \
+ libcdf.dylib \
+ libcdf.sl: $(OBJs)
+       @if [ -f $@ ] ; then rm $@ ; else $(NULL) ; fi
+@@ -100,8 +100,8 @@
+         echo $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS); \
+              $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS); \
+       else \
+-        echo $(LD) $(LDFLAGS) -o $@ $(OBJs); \
+-             $(LD) $(LDFLAGS) -o $@ $(OBJs); \
++        echo $(LD) $(LDFLAGS) -Wl,-soname,libcdf.$(SHAREDEXT) -o $@ $(OBJs); \
++             $(LD) $(LDFLAGS) -Wl,-soname,libcdf.$(SHAREDEXT) -o $@ $(OBJs); \
+       fi 
+ libcdf.o: $(OBJs)
+       @echo $(LD) $(LDFLAGS) -o $@ $(OBJs) $(SYSLIBS)
diff --git a/sci-libs/cdf/files/digest-cdf-3.1 b/sci-libs/cdf/files/digest-cdf-3.1
new file mode 100644 (file)
index 0000000..91d6a11
--- /dev/null
@@ -0,0 +1,21 @@
+MD5 7ff40108c9898ad5cd2fe432ede961cb cdf31-dist-cdf.tar.gz 934350
+RMD160 d9cbc778e8435113b58d68fbc6c4ec749941ca58 cdf31-dist-cdf.tar.gz 934350
+SHA256 62961877b2912c70e813f97f5226de808dc108e637638197ac88fc52ab5dbfec cdf31-dist-cdf.tar.gz 934350
+MD5 6166daa8753e61844c2ff6f38ca9ed4f cdf31-dist-java.tar.gz 689947
+RMD160 5f136e3dfaed34e42c823f759aa796f7ce60a166 cdf31-dist-java.tar.gz 689947
+SHA256 89222f8abe4d336055a21a645da32515ebde69eec76863f87a82cd9440cd01fd cdf31-dist-java.tar.gz 689947
+MD5 c83ee410080d9eecd6d05859eef15820 cdf31crm.pdf 809352
+RMD160 9230cdf6ff1f91b7278c9f7db738f4f2138c6bb9 cdf31crm.pdf 809352
+SHA256 d511236bb5ddc5ba19a97cded9ee4616ce055bb39efb74648acff0d50da6b667 cdf31crm.pdf 809352
+MD5 d0b14ee122f48fcf17f2f17344e302bd cdf31frm.pdf 823902
+RMD160 244531c2db48416f82fd34ac53c5c0075d3ac67d cdf31frm.pdf 823902
+SHA256 7dbcd03fb31d3727f3814828c6a8f6cd8770bae509173862341a9b6856486293 cdf31frm.pdf 823902
+MD5 11e94f9dad362f4db3698aed9d2313e4 cdf31ifd.pdf 172971
+RMD160 a00747e67b97d5d559dce8b7ccfd81f01dcf4c36 cdf31ifd.pdf 172971
+SHA256 6a1b3b85fc059889d813e5b00b6a6824ae16e173be69659461679921fbeed349 cdf31ifd.pdf 172971
+MD5 83c75bbdc9aee4f6c78b88f2d04b4b0f cdf31jrm.pdf 2505807
+RMD160 3d881a472abdb2b0290bc2c568d94913b2d35a89 cdf31jrm.pdf 2505807
+SHA256 70f0f3017430e636c1cffc0c146a0f6bc6bf0fc3ee457063ef7cdc2d2bffa011 cdf31jrm.pdf 2505807
+MD5 acdb95d098b7b83c2e6549f68e815dd5 cdf31ug.pdf 800633
+RMD160 c29a3f85fd766d4476101178175cdbad24f967ff cdf31ug.pdf 800633
+SHA256 02b34ae9e001f2bf12c83912f6e803cbe6e58bcd7ec11ab3787fe89e0fc86198 cdf31ug.pdf 800633
index b229aec85b8f3ba91e4c79b34cc4c8485e2d6e49..3ff050373d4c431f46e20d3f32835abf23924a39 100644 (file)
@@ -2,4 +2,17 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
 <herd>sci</herd>
+<longdescription lang="en">
+Common Data Format (CDF) is a conceptual data abstraction for storing
+multi-dimensional data sets. The basic component of CDF is a software
+programming interface that is a device independent view of the CDF data
+model. The application developer is insulated from the actual physical
+file format for reasons of conceptual simplicity, device independence,
+and future expandability. CDF files created on any given platform can
+be transported to any other platform on to which CDF is ported and used
+with any CDF tools or layered applications. A more detailed introduction
+to CDF can be found in the CDF User's Guide.
+A comparison between CDF, netCDF, HDF and HDF5 is available at
+http://cdf.gsfc.nasa.gov/html/FAQ.html.
+</longdescription>
 </pkgmetadata>