summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-03-08 06:39:01 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-03-08 06:39:01 +0000
commitf957fa7a737b5dadae7637a6814734c4ccefff1d (patch)
treed0ab6401319893aeee44786c4c308197e478fd58 /sci-libs/udunits
parentToday Python fixes (diff)
downloadgentoo-2-f957fa7a737b5dadae7637a6814734c4ccefff1d.tar.gz
gentoo-2-f957fa7a737b5dadae7637a6814734c4ccefff1d.tar.bz2
gentoo-2-f957fa7a737b5dadae7637a6814734c4ccefff1d.zip
Version bump
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/udunits')
-rw-r--r--sci-libs/udunits/ChangeLog9
-rw-r--r--sci-libs/udunits/udunits-2.1.21.ebuild41
2 files changed, 48 insertions, 2 deletions
diff --git a/sci-libs/udunits/ChangeLog b/sci-libs/udunits/ChangeLog
index 3fcbc1cac45e..07c5d1188518 100644
--- a/sci-libs/udunits/ChangeLog
+++ b/sci-libs/udunits/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/udunits
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/udunits/ChangeLog,v 1.13 2010/12/01 16:48:33 bicatali Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/udunits/ChangeLog,v 1.14 2011/03/08 06:39:01 bicatali Exp $
+
+*udunits-2.1.21 (08 Mar 2011)
+
+ 08 Mar 2011; Sébastien Fabbro <bicatali@gentoo.org> +udunits-2.1.21.ebuild:
+ Version bump
01 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> -udunits-1.12.1.ebuild,
-udunits-1.12.11.ebuild, -files/udunits-1.12.11-fixingtests.patch,
diff --git a/sci-libs/udunits/udunits-2.1.21.ebuild b/sci-libs/udunits/udunits-2.1.21.ebuild
new file mode 100644
index 000000000000..ed0ec8f6cf0c
--- /dev/null
+++ b/sci-libs/udunits/udunits-2.1.21.ebuild
@@ -0,0 +1,41 @@
+# 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.21.ebuild,v 1.1 2011/03/08 06:39:01 bicatali Exp $
+
+EAPI=2
+inherit eutils 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="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 $(use_enable static-libs static)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ 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
+}