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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (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.8: +3 -5 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.15.ebuild,v 1.8 2011/11/23 10:05:04 jlec Exp $
4
5 EAPI=2
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"
16 KEYWORDS="alpha amd64 ~hppa ~mips ppc ~sparc x86"
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}"/${P}-autotools.patch
24 rm -rf expat
25 eautoreconf
26 }
27
28 src_install() {
29 emake DESTDIR="${D}" install || die "emake install failed"
30 dodoc CHANGE_LOG ANNOUNCEMENT
31 doinfo udunits2.info prog/udunits2prog.info
32 if use doc; then
33 insinto /usr/share/doc/${PF}
34 doins udunits2.html udunits2.pdf
35 doins prog/udunits2prog.html prog/udunits2prog.pdf
36 fi
37 }

  ViewVC Help
Powered by ViewVC 1.1.20