Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/udunits/
Date: Tue, 29 Dec 2015 10:02:18
Message-Id: 1451383313.36105a320a0fcdf79321698fe06272c5e97df772.jlec@gentoo
1 commit: 36105a320a0fcdf79321698fe06272c5e97df772
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 29 09:29:56 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 29 10:01:53 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36105a32
7
8 sci-libs/udunits: Bump to EAPI=5
9
10 Package-Manager: portage-2.2.26
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 sci-libs/udunits/udunits-2.1.24-r1.ebuild | 41 +++++++++++++++++++++++++++++++
14 1 file changed, 41 insertions(+)
15
16 diff --git a/sci-libs/udunits/udunits-2.1.24-r1.ebuild b/sci-libs/udunits/udunits-2.1.24-r1.ebuild
17 new file mode 100644
18 index 0000000..cfb498b
19 --- /dev/null
20 +++ b/sci-libs/udunits/udunits-2.1.24-r1.ebuild
21 @@ -0,0 +1,41 @@
22 +# Copyright 1999-2015 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI=5
27 +
28 +inherit autotools eutils fortran-2
29 +
30 +DESCRIPTION="Library for manipulating units of physical quantities"
31 +HOMEPAGE="https://www.unidata.ucar.edu/software/udunits/"
32 +SRC_URI="ftp://ftp.unidata.ucar.edu/pub/udunits/${P}.tar.gz"
33 +
34 +SLOT="0"
35 +LICENSE="UCAR-Unidata"
36 +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
37 +IUSE="static-libs"
38 +
39 +RDEPEND="dev-libs/expat"
40 +DEPEND="${RDEPEND}"
41 +
42 +src_prepare() {
43 + # respect user's flags, compile with system libexpat
44 + epatch "${FILESDIR}"/${PN}-2.1.15-autotools.patch
45 + rm -rf expat || die
46 + eautoreconf
47 +}
48 +
49 +src_configure() {
50 + econf \
51 + --docdir="${EPREFIX}/usr/share/doc/${PF}" \
52 + $(use_enable static-libs static)
53 +}
54 +
55 +src_install() {
56 + default
57 + doinfo udunits2.info prog/udunits2prog.info
58 + dodoc CHANGE_LOG ANNOUNCEMENT
59 + dodoc udunits2.pdf prog/udunits2prog.pdf
60 + docinto html
61 + dodoc udunits2.html prog/udunits2prog.html
62 +}