/[gentoo-x86]/sci-libs/udunits/udunits-2.1.24.ebuild
Gentoo

Contents of /sci-libs/udunits/udunits-2.1.24.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Oct 16 19:34:33 2012 UTC (8 years, 1 month ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -4 lines
sci-libs/udunits: Remove virtual/fortran and always call fortran-2_pkg_setup as intend by the updated fortran-2.eclass

(Portage version: 2.2.0_alpha138/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/udunits/udunits-2.1.24.ebuild,v 1.2 2012/08/03 19:57:05 bicatali Exp $
4
5 EAPI=4
6
7 inherit eutils fortran-2 autotools
8
9 DESCRIPTION="Library for manipulating units of physical quantities"
10 HOMEPAGE="http://www.unidata.ucar.edu/packages/udunits/"
11 SRC_URI="ftp://ftp.unidata.ucar.edu/pub/udunits/${P}.tar.gz"
12
13 SLOT="0"
14 LICENSE="UCAR-Unidata"
15 IUSE="doc static-libs"
16 KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
17
18 RDEPEND="dev-libs/expat"
19 DEPEND="${RDEPEND}"
20
21 src_prepare() {
22 # respect user's flags, compile with system libexpat
23 epatch "${FILESDIR}"/${PN}-2.1.15-autotools.patch
24 rm -rf expat
25 eautoreconf
26 }
27
28 src_configure() {
29 econf \
30 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
31 $(use_enable static-libs static)
32 }
33
34 src_install() {
35 default
36 dodoc CHANGE_LOG ANNOUNCEMENT
37 doinfo udunits2.info prog/udunits2prog.info
38 if use doc; then
39 insinto /usr/share/doc/${PF}
40 doins udunits2.html udunits2.pdf
41 doins prog/udunits2prog.html prog/udunits2prog.pdf
42 fi
43 }

  ViewVC Help
Powered by ViewVC 1.1.20