summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2003-10-06 01:55:54 +0000
committerRyan Phillips <rphillips@gentoo.org>2003-10-06 01:55:54 +0000
commit03e2772af7f2058cf38dc8548a7dd5eeecb1e793 (patch)
treefa29c49e8c36d1ef7e3fadddb18571d9e51cc632 /dev-libs/libgeotiff/libgeotiff-1.2.1.ebuild
parentversion bump (diff)
downloadgentoo-2-03e2772af7f2058cf38dc8548a7dd5eeecb1e793.tar.gz
gentoo-2-03e2772af7f2058cf38dc8548a7dd5eeecb1e793.tar.bz2
gentoo-2-03e2772af7f2058cf38dc8548a7dd5eeecb1e793.zip
version bump
Diffstat (limited to 'dev-libs/libgeotiff/libgeotiff-1.2.1.ebuild')
-rw-r--r--dev-libs/libgeotiff/libgeotiff-1.2.1.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-libs/libgeotiff/libgeotiff-1.2.1.ebuild b/dev-libs/libgeotiff/libgeotiff-1.2.1.ebuild
new file mode 100644
index 000000000000..6a08469716ed
--- /dev/null
+++ b/dev-libs/libgeotiff/libgeotiff-1.2.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgeotiff/libgeotiff-1.2.1.ebuild,v 1.1 2003/10/06 01:55:49 rphillips Exp $
+
+inherit base eutils
+
+DESCRIPTION="libgeotiff"
+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"
+IUSE=""
+
+DEPEND="virtual/glibc
+ >=media-libs/tiff-3.3.4
+ dev-libs/proj"
+
+src_unpack() {
+ base_src_unpack
+
+ cd ${S}
+ patch -p0 -s < ${FILESDIR}/geo_trans.diff
+}
+
+src_compile() {
+ econf || die
+ MAKEOPTS="-j1" pmake || die
+}
+
+src_install() {
+ into /usr
+ exeinto /usr/bin
+ doexe bin/listgeo
+ doexe bin/geotifcp
+ doexe bin/makegeo
+ insinto usr/include
+ dolib.a libgeotiff.a
+ dolib.so libgeotiff.so.1.1.4
+ dosym libgeotiff.so.1.1.4 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
+ mkdir -p ${D}/usr/share/epsg_csv
+ insinto usr/share/epsg_csv
+ doins csv/*.csv
+}