summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2018-05-15 05:37:39 -0400
committerAaron W. Swenson <titanofold@gentoo.org>2018-05-15 05:37:39 -0400
commitcc804aafb409561fb0675e91f7a4a18b036c460b (patch)
tree1f4abbc2de843ff03a6be8b5e8c4046488d41f11 /sci-geosciences/osm2pgsql
parentsci-astronomy/celestia: Fixed live ebuild. (diff)
downloadgentoo-cc804aafb409561fb0675e91f7a4a18b036c460b.tar.gz
gentoo-cc804aafb409561fb0675e91f7a4a18b036c460b.tar.bz2
gentoo-cc804aafb409561fb0675e91f7a4a18b036c460b.zip
sci-geosciences/osm2pgsql: Bump to 0.96.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'sci-geosciences/osm2pgsql')
-rw-r--r--sci-geosciences/osm2pgsql/Manifest1
-rw-r--r--sci-geosciences/osm2pgsql/osm2pgsql-0.96.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/sci-geosciences/osm2pgsql/Manifest b/sci-geosciences/osm2pgsql/Manifest
index 1c489c5633e4..f698e617569d 100644
--- a/sci-geosciences/osm2pgsql/Manifest
+++ b/sci-geosciences/osm2pgsql/Manifest
@@ -1 +1,2 @@
DIST osm2pgsql-0.94.0.tar.gz 1203310 BLAKE2B df9af84aab13bfd79763238e89dfc216401be2460be468a2f5467513dfcbd48650d779586f9cefd4100d6404f430a2401326919e9a1c72d86b80c6526881f206 SHA512 eceb5de7679048f51a9ad1be4ecf5b2d26da827b3eb8d6b0e86657603c8bf8a6f8d6f665c8ff8db91070a2966057f2deed5e4a3cc8bfb28e60a6031454e4758e
+DIST osm2pgsql-0.96.0.tar.gz 1219163 BLAKE2B a89e40e74ea52bf46593e48dd1f9047b958b645ce38aeb554c930e2d9efdf4f0bb9b6fd7a9b209342d59ca8a0d3ada3023f14324bf8b02b060d8dfd987763528 SHA512 6c6bb00c17995b9a99975076ad3af35a99678a7780db144f7fdd1f5c856b777883f1b1dac7e1c3ca9a2a490d3774f62c8aa9f8742c955c377c28d5b827657372
diff --git a/sci-geosciences/osm2pgsql/osm2pgsql-0.96.0.ebuild b/sci-geosciences/osm2pgsql/osm2pgsql-0.96.0.ebuild
new file mode 100644
index 000000000000..990f5c9422a8
--- /dev/null
+++ b/sci-geosciences/osm2pgsql/osm2pgsql-0.96.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Converts OSM data to SQL and insert into PostgreSQL db"
+HOMEPAGE="https://wiki.openstreetmap.org/wiki/Osm2pgsql
+ https://github.com/openstreetmap/osm2pgsql"
+SRC_URI="https://github.com/openstreetmap/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+lua"
+
+COMMON_DEPEND="
+ app-arch/bzip2
+ dev-db/postgresql:=
+ dev-libs/expat
+ sci-libs/proj
+ sys-libs/zlib
+ lua? ( dev-lang/lua:= )
+"
+DEPEND="${COMMON_DEPEND}
+ dev-libs/boost
+"
+RDEPEND="${COMMON_DEPEND}
+ dev-db/postgis
+"
+
+# Tries to connect to local postgres server and other shenanigans
+RESTRICT="test"
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_LUA=$(usex lua)
+ -DBUILD_TESTS=OFF
+ )
+ cmake-utils_src_configure
+}