summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-11-23 10:06:08 +0000
committerJustin Lecher <jlec@gentoo.org>2011-11-23 10:06:08 +0000
commitb44288239c751b4b2e8fe363a5826fa1da946bcf (patch)
tree4b7a3a028384b9706dc973cf76dec54f6fbe1c8f /sci-libs/udunits
parentResorted ebuild, version Bump (diff)
downloadgentoo-2-b44288239c751b4b2e8fe363a5826fa1da946bcf.tar.gz
gentoo-2-b44288239c751b4b2e8fe363a5826fa1da946bcf.tar.bz2
gentoo-2-b44288239c751b4b2e8fe363a5826fa1da946bcf.zip
Restore udunits-2.1.21.ebuild
(Portage version: 2.2.0_alpha77/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/udunits')
-rw-r--r--sci-libs/udunits/ChangeLog5
-rw-r--r--sci-libs/udunits/udunits-2.1.21.ebuild43
2 files changed, 47 insertions, 1 deletions
diff --git a/sci-libs/udunits/ChangeLog b/sci-libs/udunits/ChangeLog
index 1ee4fd289a8a..bafaf894d591 100644
--- a/sci-libs/udunits/ChangeLog
+++ b/sci-libs/udunits/ChangeLog
@@ -1,6 +1,9 @@
# 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.19 2011/11/23 10:05:04 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/udunits/ChangeLog,v 1.20 2011/11/23 10:06:08 jlec Exp $
+
+ 23 Nov 2011; Justin Lecher <jlec@gentoo.org> +udunits-2.1.21.ebuild:
+ Restore udunits-2.1.21.ebuild
*udunits-2.1.24 (23 Nov 2011)
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..3403f97cd6cc
--- /dev/null
+++ b/sci-libs/udunits/udunits-2.1.21.ebuild
@@ -0,0 +1,43 @@
+# 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.5 2011/11/23 10:06:08 jlec Exp $
+
+EAPI=2
+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 $(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
+}