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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (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.2: +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.23.ebuild,v 1.2 2011/11/23 10:05:04 jlec 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"
17
18 RDEPEND="
19 virtual/fortran
20 dev-libs/expat"
21 DEPEND="${RDEPEND}"
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 \
32 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
33 $(use_enable static-libs static)
34 }
35
36 src_install() {
37 default
38 dodoc CHANGE_LOG ANNOUNCEMENT
39 doinfo udunits2.info prog/udunits2prog.info
40 if use doc; then
41 insinto /usr/share/doc/${PF}
42 doins udunits2.html udunits2.pdf
43 doins prog/udunits2prog.html prog/udunits2prog.pdf
44 fi
45 }

  ViewVC Help
Powered by ViewVC 1.1.20