Lines 1-19
Link Here
|
1 |
# Copyright 1999-2011 Gentoo Foundation |
1 |
# Copyright 1999-2011 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/osm2pgsql/osm2pgsql-20100413.ebuild,v 1.7 2011/11/27 13:54:44 swegener Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI=4 |
5 |
EAPI=4 |
6 |
|
6 |
|
7 |
inherit autotools |
7 |
inherit autotools subversion |
|
|
8 |
|
9 |
REV="28974" |
10 |
ESVN_REPO_URI="http://svn.openstreetmap.org/applications/utils/export/${PN}/@${REV}" |
11 |
ESVN_PROJECT="${PN}" |
8 |
|
12 |
|
9 |
DESCRIPTION="Converts OSM data to SQL and insert into PostgreSQL db" |
13 |
DESCRIPTION="Converts OSM data to SQL and insert into PostgreSQL db" |
10 |
HOMEPAGE="http://wiki.openstreetmap.org/wiki/Osm2pgsql" |
14 |
HOMEPAGE="http://wiki.openstreetmap.org/wiki/Osm2pgsql" |
11 |
SRC_URI="http://gentoo.ccss.cz/${P}svn.tar.bz2" |
15 |
SRC_URI="" |
12 |
|
16 |
|
13 |
LICENSE="GPL-2" |
17 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
18 |
SLOT="0" |
15 |
KEYWORDS="~amd64 ~x86" |
19 |
KEYWORDS="~amd64 ~x86" |
16 |
IUSE="" |
20 |
IUSE="pbf" |
17 |
|
21 |
|
18 |
DEPEND=" |
22 |
DEPEND=" |
19 |
app-arch/bzip2 |
23 |
app-arch/bzip2 |
Lines 22-34
Link Here
|
22 |
sci-libs/proj |
26 |
sci-libs/proj |
23 |
sys-libs/zlib |
27 |
sys-libs/zlib |
24 |
dev-db/postgresql-base |
28 |
dev-db/postgresql-base |
|
|
29 |
pbf? ( >=dev-libs/protobuf-c-0.14 ) |
25 |
" |
30 |
" |
26 |
RDEPEND="${DEPEND}" |
31 |
RDEPEND="${DEPEND}" |
27 |
|
32 |
|
28 |
S="${WORKDIR}"/${PN} |
33 |
DOCS=( README 900913.sql ) |
29 |
|
|
|
30 |
DOCS=( README.txt 900913.sql ) |
31 |
|
34 |
|
32 |
src_prepare() { |
35 |
src_prepare() { |
|
|
36 |
esvn_clean |
33 |
eautoreconf |
37 |
eautoreconf |
34 |
} |
38 |
} |