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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Dec 15 06:12:18 2009 UTC (10 years, 11 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Now use system expat library
(Portage version: 2.2_rc58/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.ebuild,v 1.1 2009/12/07 03:41:00 bicatali Exp $
4
5 EAPI=2
6
7 DESCRIPTION="Library for manipulating units of physical quantities"
8 HOMEPAGE="http://www.unidata.ucar.edu/packages/udunits/"
9 SRC_URI="ftp://ftp.unidata.ucar.edu/pub/udunits/${P}.tar.gz"
10
11 SLOT="0"
12 LICENSE="UCAR-Unidata"
13 KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
14
15 DEPEND=""
16 RDEPEND=""
17
18 IUSE="doc"
19
20 src_prepare() {
21 # respect user's flags
22 sed -i \
23 -e 's/-O//g' configure || die
24 }
25
26 src_install() {
27 emake DESTDIR="${D}" install || die "emake install failed"
28 dodoc CHANGE_LOG ANNOUNCEMENT
29 doinfo udunits2.info prog/udunits2prog.info
30 if use doc; then
31 insinto /usr/share/doc/${PF}
32 doins udunits2.html udunits2.pdf
33 doins prog/udunits2prog.html prog/udunits2prog.pdf
34 fi
35 }

  ViewVC Help
Powered by ViewVC 1.1.20