/[gentoo-x86]/sci-libs/libgeotiff/libgeotiff-1.2.4.ebuild
Gentoo

Contents of /sci-libs/libgeotiff/libgeotiff-1.2.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Sun Jul 29 16:58:17 2012 UTC (23 months, 3 weeks ago) by armin76
Branch: MAIN
Changes since 1.12: +2 -2 lines
Drop alpha/sparc keywords

(Portage version: 2.1.11.5/cvs/Linux ia64)

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/libgeotiff/libgeotiff-1.2.4.ebuild,v 1.12 2012/05/24 19:38:04 scarabeus Exp $
4
5 inherit autotools eutils flag-o-matic
6
7 DESCRIPTION="Library for reading TIFF files with embedded tags for geographic (cartographic) information"
8 HOMEPAGE="http://www.remotesensing.org/geotiff/geotiff.html"
9 SRC_URI="ftp://ftp.remotesensing.org/pub/geotiff/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ~mips ppc ppc64 x86"
14 IUSE="doc python"
15
16 RDEPEND=">=media-libs/tiff-3.7
17 virtual/jpeg
18 sci-libs/proj"
19
20 DEPEND="${RDEPEND}
21 doc? ( app-doc/doxygen )"
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26 epatch "${FILESDIR}"/${P}-soname.patch
27 append-ldflags -Wl,-O0
28 eautoconf
29 }
30
31 src_compile() {
32 econf
33 emake -j1 || die "emake failed"
34
35 if use doc; then
36 emake dox || die "emake dox failed"
37 fi
38 }
39
40 src_install() {
41 emake DESTDIR="${D}" install || die "emake install failed"
42
43 dobin bin/makegeo || die "dobin makegeo failed"
44
45 if use python; then
46 dobin csv/*.py || die "dobin python failed"
47 fi
48
49 dodoc README
50 newdoc csv/README README.csv
51 use doc && dohtml docs/api/*
52 }

  ViewVC Help
Powered by ViewVC 1.1.20