From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DE2551384B4 for ; Tue, 29 Dec 2015 10:02:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9402921C03F; Tue, 29 Dec 2015 10:02:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 618AAE0870 for ; Tue, 29 Dec 2015 10:02:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 94A03340756 for ; Tue, 29 Dec 2015 10:02:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9CB1BCFC for ; Tue, 29 Dec 2015 10:02:03 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1451383313.36105a320a0fcdf79321698fe06272c5e97df772.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/udunits/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/udunits/udunits-2.1.24-r1.ebuild X-VCS-Directories: sci-libs/udunits/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 36105a320a0fcdf79321698fe06272c5e97df772 X-VCS-Branch: master Date: Tue, 29 Dec 2015 10:02:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b2d9bec9-98cd-4217-8a0d-c9ce5a980a5b X-Archives-Hash: d948f9c7d899f865547e8e87e9038c42 commit: 36105a320a0fcdf79321698fe06272c5e97df772 Author: Justin Lecher gentoo org> AuthorDate: Tue Dec 29 09:29:56 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Tue Dec 29 10:01:53 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36105a32 sci-libs/udunits: Bump to EAPI=5 Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher gentoo.org> sci-libs/udunits/udunits-2.1.24-r1.ebuild | 41 +++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) 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 0000000..cfb498b --- /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 +}