blob: 9da1704c905ae78cbf58d6b11250d37a9e98b25f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeotiff/libgeotiff-1.2.0.ebuild,v 1.4 2005/07/10 20:33:19 nerdboy Exp $
inherit eutils
DESCRIPTION="Library for reading TIFF files with embedded tags for geographic (cartographic) information"
HOMEPAGE="http://remotesensing.org/geotiff/geotiff.html"
SRC_URI="ftp://ftp.remotesensing.org/pub/geotiff/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 sparc ~hppa ~alpha ~mips ~amd64 ~ppc ~ppc64"
IUSE=""
DEPEND="virtual/libc
>=media-libs/tiff-3.3.4
sci-libs/proj"
src_compile() {
econf || die
emake -j1 || die
}
src_install() {
dobin bin/{listgeo,geotifcp,makegeo} || die
insinto usr/include
dolib.a libgeotiff.a
dolib.so libgeotiff.so.${PV}
dosym libgeotiff.so.${PV} usr/lib/libgeotiff.so
doins xtiffio.h xtiffiop.h geotiff.h geotiffio.h geovalues.h geonames.h geokeys.h geo_tiffp.h geo_config.h geo_keyp.h geo_normalize.h cpl_serv.h cpl_csv.h epsg_datum.inc epsg_gcs.inc epsg_pm.inc epsg_units.inc geo_ctrans.inc epsg_ellipse.inc epsg_pcs.inc epsg_proj.inc epsg_vertcs.inc geokeys.inc
insinto usr/share/epsg_csv
doins csv/*.csv
}
|