summaryrefslogtreecommitdiff
path: root/sci-libs/proj
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-libs/proj
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-libs/proj')
-rw-r--r--sci-libs/proj/Manifest3
-rw-r--r--sci-libs/proj/metadata.xml7
-rw-r--r--sci-libs/proj/proj-4.8.0.ebuild55
3 files changed, 65 insertions, 0 deletions
diff --git a/sci-libs/proj/Manifest b/sci-libs/proj/Manifest
new file mode 100644
index 00000000000..d0d3b2c86cc
--- /dev/null
+++ b/sci-libs/proj/Manifest
@@ -0,0 +1,3 @@
+DIST proj-4.8.0-org_proj4_PJ.h 2960 SHA256 ed16ebaf2806fbd74392939085db17adfdaa71d45e908cda29fbc7dc3e0a613e SHA512 db2c2b8920ef1c0c56395480dd514e372d5385839ac553a36c92431f5662bb8ec47706489b5c12e0c4308967da58fc94b29a957ede627274ab685ab647151f2c WHIRLPOOL bdff66be09ca619fff5e12a90702db2c85b62b72016dc6805184363a0e5eadd6955225fd8d87a2b5148a0d8035dc88aff6a4cbd33f93869a23be42b4586f40b2
+DIST proj-4.8.0.tar.gz 785279 SHA256 2db2dbf0fece8d9880679154e0d6d1ce7c694dd8e08b4d091028093d87a9d1b5 SHA512 6076289f8bdf1ca3b76ea879d8c221a668fcb4a6deec7cf6a293c489dfe0b21c36da0c6ed2c7a0b8042436106e851018aa429b4731f4ff018fea2fdb8887ec76 WHIRLPOOL c4d2ae53441868d489c789b5ecdab63829855604ff00479d08727def41b1891e72bd590fd18b0f51ae9fc3f3f121496fecdd2a860b9376df8181d781ffe57599
+DIST proj-datumgrid-1.5.zip 2250131 SHA256 723c4017d95d7a8abdf3bda4e18d3c15d79b00f9326d453da5fdf13f96c287db SHA512 9d9a935b3e984721a1ceafac49c139d3c5d9923c5bcef5f57fec8028a043c86e7de8bad9c200fa38cd6d1bf27b32dd0126597d42fee793d055e686f090604bf3 WHIRLPOOL fa0a58628906e108e811062a2f9761009d85b6083506587ddc95aae083dc5a2855174823037bbd63a5702b869c038483ed9a9f64f5a245bedcfd88eda7a026a8
diff --git a/sci-libs/proj/metadata.xml b/sci-libs/proj/metadata.xml
new file mode 100644
index 00000000000..90bff93b11d
--- /dev/null
+++ b/sci-libs/proj/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-geosciences</herd>
+ <longdescription>Proj.4 cartograpic projection code for forward and inverse
+coordinate and projection transformations.</longdescription>
+</pkgmetadata>
diff --git a/sci-libs/proj/proj-4.8.0.ebuild b/sci-libs/proj/proj-4.8.0.ebuild
new file mode 100644
index 00000000000..f820a55da3f
--- /dev/null
+++ b/sci-libs/proj/proj-4.8.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils java-pkg-opt-2 flag-o-matic
+
+DESCRIPTION="Proj.4 cartographic projection software with updated NAD27 grids"
+HOMEPAGE="http://trac.osgeo.org/proj/"
+SRC_URI="
+ ftp://ftp.remotesensing.org/pub/proj/${P}.tar.gz
+ http://download.osgeo.org/proj/${PN}-datumgrid-1.5.zip
+ http://trac.osgeo.org/proj/export/2190/tags/${PV}/proj/src/org_proj4_PJ.h -> ${P}-org_proj4_PJ.h
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="java static-libs"
+
+RDEPEND=""
+DEPEND="
+ app-arch/unzip
+ java? ( >=virtual/jdk-1.5 )"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd "${S}"/nad || die
+ mv README README.NAD || die
+ cp "${DISTDIR}/${P}-org_proj4_PJ.h" "${S}/src/org_proj4_PJ.h" || die
+ unpack ${PN}-datumgrid-1.5.zip
+}
+
+src_configure() {
+ if use java; then
+ export JAVACFLAGS="$(java-pkg_javac-args)"
+ append-cflags "$(java-pkg_get-jni-cflags)"
+ fi
+ econf \
+ $(use_enable static-libs static) \
+ $(use_with java jni)
+}
+
+src_install() {
+ default
+ cd nad || die
+ dodoc README.{NAD,NADUS}
+ insinto /usr/share/proj
+ insopts -m 755
+ doins test27 test83
+ insopts -m 644
+ doins pj_out27.dist pj_out83.dist
+ prune_libtool_files
+}