summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-07-29 00:03:40 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-07-29 00:03:40 +0000
commit38b1cd912ee9a3b66d052b91a9b5173d65b95704 (patch)
tree90b68e1cab50b2a92fd82acbab6aeb85876065c6 /sci-libs/udunits
parentVersion bump (diff)
downloadgentoo-2-38b1cd912ee9a3b66d052b91a9b5173d65b95704.tar.gz
gentoo-2-38b1cd912ee9a3b66d052b91a9b5173d65b95704.tar.bz2
gentoo-2-38b1cd912ee9a3b66d052b91a9b5173d65b95704.zip
Version bump
(Portage version: 2.1.10.7/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/udunits')
-rw-r--r--sci-libs/udunits/ChangeLog7
-rw-r--r--sci-libs/udunits/udunits-2.1.23.ebuild44
2 files changed, 50 insertions, 1 deletions
diff --git a/sci-libs/udunits/ChangeLog b/sci-libs/udunits/ChangeLog
index 4ba85ecdb2b8..89f2e2ebd2ff 100644
--- a/sci-libs/udunits/ChangeLog
+++ b/sci-libs/udunits/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/udunits
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/udunits/ChangeLog,v 1.17 2011/06/21 14:45:12 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/udunits/ChangeLog,v 1.18 2011/07/29 00:03:39 bicatali Exp $
+
+*udunits-2.1.23 (29 Jul 2011)
+
+ 29 Jul 2011; Sébastien Fabbro <bicatali@gentoo.org> +udunits-2.1.23.ebuild:
+ Version bump
21 Jun 2011; Justin Lecher <jlec@gentoo.org> udunits-2.1.15.ebuild,
udunits-2.1.21.ebuild:
diff --git a/sci-libs/udunits/udunits-2.1.23.ebuild b/sci-libs/udunits/udunits-2.1.23.ebuild
new file mode 100644
index 000000000000..61a68b5a02f0
--- /dev/null
+++ b/sci-libs/udunits/udunits-2.1.23.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/udunits/udunits-2.1.23.ebuild,v 1.1 2011/07/29 00:03:40 bicatali Exp $
+
+EAPI=4
+inherit eutils fortran-2 autotools
+
+DESCRIPTION="Library for manipulating units of physical quantities"
+HOMEPAGE="http://www.unidata.ucar.edu/packages/udunits/"
+SRC_URI="ftp://ftp.unidata.ucar.edu/pub/udunits/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="UCAR-Unidata"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
+
+RDEPEND="virtual/fortran
+ dev-libs/expat"
+DEPEND="${RDEPEND}"
+
+IUSE="doc static-libs"
+
+src_prepare() {
+ # respect user's flags, compile with system libexpat
+ epatch "${FILESDIR}"/${PN}-2.1.15-autotools.patch
+ rm -rf expat
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ dodoc CHANGE_LOG ANNOUNCEMENT
+ doinfo udunits2.info prog/udunits2prog.info
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins udunits2.html udunits2.pdf
+ doins prog/udunits2prog.html prog/udunits2prog.pdf
+ fi
+}