# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils autotools subversion ESVN_REPO_URI="http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/" ESVN_PROJECT="${PN}" DESCRIPTION="Converts OSM planet.osm data to SQL suitable for loading into a PostgreSQL database and then rendered into tiles by Mapnik." HOMEPAGE="" SRC_URI="" LICENSE="" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND="dev-libs/libxml2 sci-libs/geos sci-libs/proj app-arch/bzip2 sys-libs/zlib virtual/postgresql-base dev-db/postgis" RDEPEND="dev-libs/libxml2 sci-libs/geos sci-libs/proj app-arch/bzip2 sys-libs/zlib virtual/postgresql-base dev-db/postgis" src_compile() { emake } src_install() { mkdir -p ${D}/usr/bin/ cp osm2pgsql ${D}/usr/bin/ chmod +x ${D}/usr/bin/osm2pgsql }