Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/grib_api: metadata.xml ChangeLog grib_api-1.9.5.ebuild
Date: Tue, 30 Nov 2010 17:49:55
Message-Id: 20101130174946.6FAFC20054@flycatcher.gentoo.org
1 bicatali 10/11/30 17:49:46
2
3 Added: metadata.xml ChangeLog grib_api-1.9.5.ebuild
4 Log:
5 Initial import
6
7 (Portage version: 2.1.9.25/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sci-libs/grib_api/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>sci</herd>
21 <longdescription lang="en">
22 The European Centre for Medium-Range Weather Forecasts GRIdded
23 Binary (GRIB) API is an application program interface accessible
24 from C and FORTRAN programs developed for encoding and decoding WMO
25 FM-92 GRIB edition 1 and edition 2 messages. A useful set of command
26 line tools is also provided to give quick access to grib messages.
27 </longdescription>
28 </pkgmetadata>
29
30
31
32 1.1 sci-libs/grib_api/ChangeLog
33
34 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/ChangeLog?rev=1.1&view=markup
35 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/ChangeLog?rev=1.1&content-type=text/plain
36
37 Index: ChangeLog
38 ===================================================================
39 # ChangeLog for sci-libs/grib_api
40 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
41 # $Header: /var/cvsroot/gentoo-x86/sci-libs/grib_api/ChangeLog,v 1.1 2010/11/30 17:49:46 bicatali Exp $
42
43 *grib_api-1.9.5 (30 Nov 2010)
44
45 30 Nov 2010; S├ębastien Fabbro <bicatali@g.o> +grib_api-1.9.5.ebuild,
46 +files/grib_api-1.9.5-autotools.patch, +metadata.xml:
47 Initial import
48
49
50
51
52 1.1 sci-libs/grib_api/grib_api-1.9.5.ebuild
53
54 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/grib_api-1.9.5.ebuild?rev=1.1&view=markup
55 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/grib_api-1.9.5.ebuild?rev=1.1&content-type=text/plain
56
57 Index: grib_api-1.9.5.ebuild
58 ===================================================================
59 # Copyright 1999-2010 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 # $Header: /var/cvsroot/gentoo-x86/sci-libs/grib_api/grib_api-1.9.5.ebuild,v 1.1 2010/11/30 17:49:46 bicatali Exp $
62
63 EAPI=2
64 inherit eutils autotools
65
66 DESCRIPTION="Library for decoding WMO FM-92 GRIB messages"
67 HOMEPAGE="http://www.ecmwf.int/products/data/software/grib_api.html"
68 SRC_URI="http://www.ecmwf.int/products/data/software/download/software_files/${P}.tar.gz"
69
70 LICENSE="LGPL-3"
71 SLOT="0"
72 KEYWORDS="~amd64 ~x86"
73 IUSE="doc examples fortran jpeg2k openmp png perl python static-libs"
74
75 DEPEND="jpeg2k? ( || ( media-libs/jasper media-libs/openjpeg ) )
76 png? ( media-libs/libpng )
77 python? ( dev-python/numpy )"
78 RDEPEND="${DEPEND}"
79
80 src_prepare() {
81 epatch "${FILESDIR}"/${P}-autotools.patch
82 eautoreconf
83 }
84
85 src_configure() {
86 econf \
87 --enable-install-system-perl \
88 $(use_enable fortran) \
89 $(use_enable jpeg2k jpeg) \
90 $(use_enable openmp omp-packing) \
91 $(use_enable python) \
92 $(use_enable python numpy) \
93 $(use_enable static-libs static) \
94 $(use_with perl) \
95 $(use_with png png-support)
96
97 }
98
99 src_install() {
100 emake DESTDIR="${D}" install || die "emake install failed"
101 dodoc AUTHORS ChangeLog README
102 if use doc; then
103 dohtml html/* || die
104 fi
105 if use examples; then
106 insinto /usr/share/doc/${PF}/examples
107 emake clean
108 doins -r * || die
109 fi
110 }