diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-12-29 10:29:56 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-12-29 11:01:53 +0100 |
commit | 36105a320a0fcdf79321698fe06272c5e97df772 (patch) | |
tree | 1d11889ca74ceff3319fa2823964bb7f5dba4c9d /sci-libs/udunits | |
parent | sci-libs/udunits: Update HOMEPAGE (diff) | |
download | gentoo-36105a320a0fcdf79321698fe06272c5e97df772.tar.gz gentoo-36105a320a0fcdf79321698fe06272c5e97df772.tar.bz2 gentoo-36105a320a0fcdf79321698fe06272c5e97df772.zip |
sci-libs/udunits: Bump to EAPI=5
Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-libs/udunits')
-rw-r--r-- | sci-libs/udunits/udunits-2.1.24-r1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sci-libs/udunits/udunits-2.1.24-r1.ebuild b/sci-libs/udunits/udunits-2.1.24-r1.ebuild new file mode 100644 index 000000000000..cfb498b1b393 --- /dev/null +++ b/sci-libs/udunits/udunits-2.1.24-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils fortran-2 + +DESCRIPTION="Library for manipulating units of physical quantities" +HOMEPAGE="https://www.unidata.ucar.edu/software/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 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +RDEPEND="dev-libs/expat" +DEPEND="${RDEPEND}" + +src_prepare() { + # respect user's flags, compile with system libexpat + epatch "${FILESDIR}"/${PN}-2.1.15-autotools.patch + rm -rf expat || die + eautoreconf +} + +src_configure() { + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + $(use_enable static-libs static) +} + +src_install() { + default + doinfo udunits2.info prog/udunits2prog.info + dodoc CHANGE_LOG ANNOUNCEMENT + dodoc udunits2.pdf prog/udunits2prog.pdf + docinto html + dodoc udunits2.html prog/udunits2prog.html +} |