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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Fri Aug 3 19:57:05 2012 UTC (8 years, 3 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
keyword amd64-linux x86-linux

(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.21.ebuild,v 1.7 2011/11/28 11:41:54 phajdan.jr Exp $
4
5 EAPI=2
6 inherit eutils fortran-2 autotools
7
8 DESCRIPTION="Library for manipulating units of physical quantities"
9 HOMEPAGE="http://www.unidata.ucar.edu/packages/udunits/"
10 SRC_URI="ftp://ftp.unidata.ucar.edu/pub/udunits/${P}.tar.gz"
11
12 SLOT="0"
13 LICENSE="UCAR-Unidata"
14 KEYWORDS="~alpha amd64 ~hppa ~mips ~ppc ~sparc x86"
15
16 RDEPEND="
17 virtual/fortran
18 dev-libs/expat"
19 DEPEND="${RDEPEND}"
20
21 IUSE="doc static-libs"
22
23 src_prepare() {
24 # respect user's flags, compile with system libexpat
25 epatch "${FILESDIR}"/${PN}-2.1.15-autotools.patch
26 rm -rf expat
27 eautoreconf
28 }
29
30 src_configure() {
31 econf $(use_enable static-libs static)
32 }
33
34 src_install() {
35 emake DESTDIR="${D}" install || die "emake install failed"
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