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

Contents of /sci-libs/udunits/udunits-2.1.11-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Dec 1 16:48:33 2010 UTC (9 years, 11 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Removed old

(Portage version: 2.1.9.25/cvs/Linux x86_64)

1 # Copyright 1999-2009 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.11-r1.ebuild,v 1.1 2009/12/15 06:12:18 bicatali Exp $
4
5 EAPI=2
6 inherit eutils 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="dev-libs/expat"
17 DEPEND="${RDEPEND}"
18
19 IUSE="doc"
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