diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-04-24 11:28:12 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-04-24 11:28:12 +0000 |
commit | c0dc286aac73ecdd0b6cfe5f5727abaffc39a023 (patch) | |
tree | dcbe92ced9352a6acc778a00c0b28a343a4fabea /sci-libs | |
parent | MIPS love. (diff) | |
download | historical-c0dc286aac73ecdd0b6cfe5f5727abaffc39a023.tar.gz historical-c0dc286aac73ecdd0b6cfe5f5727abaffc39a023.tar.bz2 historical-c0dc286aac73ecdd0b6cfe5f5727abaffc39a023.zip |
Version bump, with better autotools handling and install. Adapted the ebuild to match the structure. Extended the longdescription in metadata.xml.
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/netcdf/ChangeLog | 11 | ||||
-rw-r--r-- | sci-libs/netcdf/Manifest | 34 | ||||
-rw-r--r-- | sci-libs/netcdf/files/digest-netcdf-3.6.2 | 3 | ||||
-rw-r--r-- | sci-libs/netcdf/metadata.xml | 12 | ||||
-rw-r--r-- | sci-libs/netcdf/netcdf-3.6.2.ebuild | 76 |
5 files changed, 122 insertions, 14 deletions
diff --git a/sci-libs/netcdf/ChangeLog b/sci-libs/netcdf/ChangeLog index 13cae1fb5c90..e54c763a9f07 100644 --- a/sci-libs/netcdf/ChangeLog +++ b/sci-libs/netcdf/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-libs/netcdf -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.32 2006/10/24 12:31:31 markusle Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.33 2007/04/24 11:28:12 bicatali Exp $ + +*netcdf-3.6.2 (24 Apr 2007) + + 24 Apr 2007; SĂ©bastien Fabbro <bicatali@gentoo.org> metadata.xml, + +netcdf-3.6.2.ebuild: + Version bump, with better autotools handling and install. Adapted the ebuild + to match the structure. Extended the longdescription in metadata.xml. *netcdf-3.6.1-r1 (22 Oct 2006) diff --git a/sci-libs/netcdf/Manifest b/sci-libs/netcdf/Manifest index 32fb90387722..27fc4f42953a 100644 --- a/sci-libs/netcdf/Manifest +++ b/sci-libs/netcdf/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX fPIC.1.patch 816 RMD160 4640831dac116428fc1b7bb80a27a0c3ad59cc15 SHA1 3ed50725c51c66cdbf769b2214d0e2be9d4aa850 SHA256 d5f9431b102815c5000fb2a97536d5a74aa1c83acbc1df11e5ad9716f9623501 MD5 da36efc15fffb2c79992752200446dce files/fPIC.1.patch 816 RMD160 4640831dac116428fc1b7bb80a27a0c3ad59cc15 files/fPIC.1.patch 816 @@ -13,6 +16,7 @@ SHA256 789a2167109f7e09440290a8f91354cb0a0b7ca90157ce76b83ec811ac370e18 files/gc DIST netcdf-3.5.0.tar.Z 1319419 RMD160 4313e00fc56273e871c003bfb27c533d4a7f556f SHA1 e9c5a9847d8ff9b3e1b8a18f5e216f6a1508bce8 SHA256 d3a2113a9174d845dc377122826cd68b1e02fbb253c0f0c253b8e1c199c84b97 DIST netcdf-3.6.0-p1.tar.gz 842025 RMD160 f59877c5f1f70b7099f263f0a34c1b1bd12d41d9 SHA1 7e02a62a1abe9c1f00222f44ed44d63def3cc3d2 SHA256 a9e6105ed89ce6cfd2edc78e8184232a2f950e674c5241c28cae361a1fe1adfe DIST netcdf-3.6.1.tar.gz 883888 RMD160 f46c3f65645169db60c8523eb28d498dfb6f7760 SHA1 42dfacab24f2af5fbc16a75769c7295d0b228542 SHA256 15c42a2c698c4e42ee17720701168711d86e97e97311223015d07853fb09249f +DIST netcdf-3.6.2.tar.gz 5312882 RMD160 dcf1efa90b7479215ac0a2d8dc231d94dddc73d8 SHA1 32fb81f39ffccab539124cc3d5f619965ce42f36 SHA256 feaa7673f369e5fb57fcc51426e2be694228ddcc141fc3fd20399269fb6b9311 EBUILD netcdf-3.5.0-r3.ebuild 1191 RMD160 98c2c96ceeff47dc6a9a719dd325e78c2e673540 SHA1 f84438d52764f45c5efcddf09c442cb65bc3e23f SHA256 cb28a00373d131f2773f6d0e5787b069fbf63d823dc068b8e478a63a7c019251 MD5 c55ccac2970f76fab639d3cfe7c41f1f netcdf-3.5.0-r3.ebuild 1191 RMD160 98c2c96ceeff47dc6a9a719dd325e78c2e673540 netcdf-3.5.0-r3.ebuild 1191 @@ -29,14 +33,18 @@ EBUILD netcdf-3.6.1.ebuild 1932 RMD160 281ab589d135ac62c4881c4f4ea7f39c39828a47 MD5 4d5d4637ad171403872323fe26ab0197 netcdf-3.6.1.ebuild 1932 RMD160 281ab589d135ac62c4881c4f4ea7f39c39828a47 netcdf-3.6.1.ebuild 1932 SHA256 22d73c9434ed09b0a060767bcd42097cc568fbcb4809d57defc37d98711a84a8 netcdf-3.6.1.ebuild 1932 -MISC ChangeLog 7566 RMD160 516f4761c45f559b53e05938e36521997d33c324 SHA1 289c45ec3d6e492a1aefe17f2381b294133f88d4 SHA256 ce84151bcbf803f57516e3d130e0dfbdfbc8e064f1912c5006b0345dfa7747fa -MD5 89321ea7056ad5a7af511a25d374e7f7 ChangeLog 7566 -RMD160 516f4761c45f559b53e05938e36521997d33c324 ChangeLog 7566 -SHA256 ce84151bcbf803f57516e3d130e0dfbdfbc8e064f1912c5006b0345dfa7747fa ChangeLog 7566 -MISC metadata.xml 354 RMD160 bfcb0f7b337f66dc2fb62553362bf7f5090f7ab5 SHA1 048f97a1a58422edf97c4acc7c29323467118b08 SHA256 053eca00f9a0520f832d4569dd97c2645393a87a512af39ffb23bc0f59078fe4 -MD5 a90354cea7ea5a1ccb093598a750c7c6 metadata.xml 354 -RMD160 bfcb0f7b337f66dc2fb62553362bf7f5090f7ab5 metadata.xml 354 -SHA256 053eca00f9a0520f832d4569dd97c2645393a87a512af39ffb23bc0f59078fe4 metadata.xml 354 +EBUILD netcdf-3.6.2.ebuild 2247 RMD160 c00953a9f889521e40bdbbf9bb55ff26b72f5f8b SHA1 df89e7360cbfff2bf05529baf211a5195a4a6db2 SHA256 f94468a5f2e1bb4895a70d51a109ab031c8e8b27c643c76c4a869926d43fadf4 +MD5 046d83aff85d0feb49a54e1cf9f4859d netcdf-3.6.2.ebuild 2247 +RMD160 c00953a9f889521e40bdbbf9bb55ff26b72f5f8b netcdf-3.6.2.ebuild 2247 +SHA256 f94468a5f2e1bb4895a70d51a109ab031c8e8b27c643c76c4a869926d43fadf4 netcdf-3.6.2.ebuild 2247 +MISC ChangeLog 7840 RMD160 f2cd1224ab96e19ea2d20bcba5d6853767057ed2 SHA1 4641d95f1ffb66766e1ed81e6648a4606bf01f89 SHA256 098f4d9dbd5a0fe59b91a441a39dde010fffaabc2d06c227ebce04b6177c03d5 +MD5 d5afde6ac4e246ea1429b7688e419688 ChangeLog 7840 +RMD160 f2cd1224ab96e19ea2d20bcba5d6853767057ed2 ChangeLog 7840 +SHA256 098f4d9dbd5a0fe59b91a441a39dde010fffaabc2d06c227ebce04b6177c03d5 ChangeLog 7840 +MISC metadata.xml 575 RMD160 638c53aa85064f37973c46069075a55d1cc02c9b SHA1 1b31b9514dc8f1d56c4c9e0bfe58e0d4f6ce2e9e SHA256 4fc8a40dde64837250400a3468add946b4cc8b29b74b9fc2b7b416534dab04f6 +MD5 6e13f312bd19633ba0c7be0f125451f0 metadata.xml 575 +RMD160 638c53aa85064f37973c46069075a55d1cc02c9b metadata.xml 575 +SHA256 4fc8a40dde64837250400a3468add946b4cc8b29b74b9fc2b7b416534dab04f6 metadata.xml 575 MD5 cf0a69126ac6374cd8b5c27eb89359ba files/digest-netcdf-3.5.0-r3 238 RMD160 76c08d5b7b7d68cbb89f45b557b51a1e0956282a files/digest-netcdf-3.5.0-r3 238 SHA256 1300bb1cc4d8dde58fa4dc5c37cd16861288412b14361f05cd287690a530a4db files/digest-netcdf-3.5.0-r3 238 @@ -49,3 +57,13 @@ SHA256 9494146ba09f3753dad7e578aff473f639fa38c84759738e00abc13782047bc3 files/di MD5 aadb37991539590d3976082a9b2bf476 files/digest-netcdf-3.6.1-r1 238 RMD160 657662424942042a437aa01ed81f26392709573a files/digest-netcdf-3.6.1-r1 238 SHA256 9494146ba09f3753dad7e578aff473f639fa38c84759738e00abc13782047bc3 files/digest-netcdf-3.6.1-r1 238 +MD5 76269455a88702493b70db92a1cc360b files/digest-netcdf-3.6.2 241 +RMD160 9f29e9ea8efe759f6a14c35952034b45ea7e612c files/digest-netcdf-3.6.2 241 +SHA256 7d58e86cb28eae8a59453893dafaaf601d78ab9c2a343b742239cf35916ba816 files/digest-netcdf-3.6.2 241 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFGLenW1ycZbhPLE2ARAv5GAJ9cagYm3Te3J/iTfaJOiRO3bFa+LACfV+j9 +p3LMc0fWVFp0J/2P84D4g4w= +=/pjV +-----END PGP SIGNATURE----- diff --git a/sci-libs/netcdf/files/digest-netcdf-3.6.2 b/sci-libs/netcdf/files/digest-netcdf-3.6.2 new file mode 100644 index 000000000000..4e628fa6b05c --- /dev/null +++ b/sci-libs/netcdf/files/digest-netcdf-3.6.2 @@ -0,0 +1,3 @@ +MD5 a7d450da9081e4a6e440705ea31868d3 netcdf-3.6.2.tar.gz 5312882 +RMD160 dcf1efa90b7479215ac0a2d8dc231d94dddc73d8 netcdf-3.6.2.tar.gz 5312882 +SHA256 feaa7673f369e5fb57fcc51426e2be694228ddcc141fc3fd20399269fb6b9311 netcdf-3.6.2.tar.gz 5312882 diff --git a/sci-libs/netcdf/metadata.xml b/sci-libs/netcdf/metadata.xml index 597cede6b022..27285af7fd97 100644 --- a/sci-libs/netcdf/metadata.xml +++ b/sci-libs/netcdf/metadata.xml @@ -2,8 +2,12 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>sci</herd> -<maintainer> - <email>sci@gentoo.org</email> -</maintainer> -<longdescription>The netCDF library defines a machine-independent format and interface for representing scientific data.</longdescription> +<longdescription lang="en"> +NetCDF (network Common Data Form) is an interface for scientific +data access and a freely-distributed software library that provides an +implementation of the interface. The netCDF library also defines a +machine-independent format for representing scientific data. +Together, the interface, library, and format support the creation, +access, and sharing of scientific data. +</longdescription> </pkgmetadata> diff --git a/sci-libs/netcdf/netcdf-3.6.2.ebuild b/sci-libs/netcdf/netcdf-3.6.2.ebuild new file mode 100644 index 000000000000..6110312679f5 --- /dev/null +++ b/sci-libs/netcdf/netcdf-3.6.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/netcdf-3.6.2.ebuild,v 1.1 2007/04/24 11:28:12 bicatali Exp $ + +inherit fortran eutils toolchain-funcs + +DESCRIPTION="Scientific library and interface for array oriented data access" +SRC_URI="ftp://ftp.unidata.ucar.edu/pub/netcdf/${P}.tar.gz" +HOMEPAGE="http://my.unidata.ucar.edu/content/software/netcdf/index.html" + +LICENSE="UCAR-Unidata" +SLOT="0" +IUSE="fortran debug doc" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND="!sci-libs/hdf" +DEPEND="${RDEPEND} + doc? ( virtual/tetex )" + +pkg_setup() { + if use fortran ; then + FORTRAN="gfortran ifc g77 pgf77 pgf90" + fortran_pkg_setup + fi +} + +src_compile() { + use debug || CPPFLAGS="${CPPFLAGS} -DNDEBUG" + local myconf + if use fortran; then + # cfortran CPPFLAGS are now automatically set by the configure script + case "${FORTRANC}" in + g77) + myconf="${myconf} --enable-f77 --disable-f90" + myconf="${myconf} F77=g77" + ;; + pgf77) + myconf="${myconf} --enable-f77 --disable-f90" + myconf="${myconf} F77=pgf77" + ;; + pgf90) + myconf="${myconf} --enable-f77 --enable-f90" + myconf="${myconf} FC=pgf90 F90=pgf90 F77=pgf90" + ;; + ifc|ifort) + myconf="${myconf} --enable-f77 --enable-f90" + myconf="${myconf} FC=ifort F90=ifort F77=ifort" + ;; + *) + myconf="${myconf} --enable-f77 --enable-f90" + myconf="${myconf} FC=gfortran F90=gfortran F77=gfortran" + ;; + esac + else + myconf="${myconf} --disable-f77 --disable-f90" + fi + econf \ + --enable-shared \ + --docdir=/usr/share/doc/${PF} \ + $(use_enable debug flag-setting ) \ + $(use_enable doc docs-install) \ + ${myconf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + find "${D}usr/$(get_libdir)" -name \*.la -exec rm -f {} \; + dodoc README RELEASE_NOTES VERSION || die "dodoc failed" + # keep only pdf,txt and html docs + if use doc; then + find "${D}usr/share/doc/${PF}" -name \*.ps -exec rm -f {} \; + find "${D}usr/share/doc/${PF}" -name \*.info -exec rm -f {} \; + find "${D}usr/share/doc/${PF}" -name \*.txt -exec ecompress {} \; + fi +} |