Lines 1-16
Link Here
|
1 |
# Copyright 1999-2009 Gentoo Foundation |
1 |
# Copyright 1999-2009 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/mapnik/mapnik-0.5.1.ebuild,v 1.7 2009/01/04 19:48:41 mr_bones_ Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
inherit eutils toolchain-funcs |
5 |
inherit eutils toolchain-funcs |
6 |
|
6 |
|
7 |
DESCRIPTION="A Free Toolkit for developing mapping applications." |
7 |
DESCRIPTION="A Free Toolkit for developing mapping applications." |
8 |
HOMEPAGE="http://www.mapnik.org/" |
8 |
HOMEPAGE="http://www.mapnik.org/" |
9 |
SRC_URI="mirror://berlios/mapnik/mapnik_src-${PV}.tar.gz" |
9 |
SRC_URI="mirror://berlios/mapnik/mapnik-${PV}.tar.bz2" |
10 |
LICENSE="LGPL-3" |
10 |
LICENSE="LGPL-3" |
11 |
SLOT="0" |
11 |
SLOT="0" |
12 |
KEYWORDS="~amd64 ~ppc ~x86" |
12 |
KEYWORDS="~amd64 ~ppc ~x86" |
13 |
IUSE="bidi debug doc postgres python xml" |
13 |
IUSE="bidi debug doc openstreetmap postgres python xml" |
14 |
|
14 |
|
15 |
RDEPEND=">=dev-libs/boost-1.33.0 |
15 |
RDEPEND=">=dev-libs/boost-1.33.0 |
16 |
>=media-libs/libpng-1.2.12 |
16 |
>=media-libs/libpng-1.2.12 |
Lines 21-26
Link Here
|
21 |
media-fonts/dejavu |
21 |
media-fonts/dejavu |
22 |
>=sci-libs/proj-4.4.9 |
22 |
>=sci-libs/proj-4.4.9 |
23 |
sci-libs/gdal |
23 |
sci-libs/gdal |
|
|
24 |
dev-libs/icu |
25 |
openstreetmap? ( net-misc/curl ) |
24 |
xml? ( dev-libs/libxml2 ) |
26 |
xml? ( dev-libs/libxml2 ) |
25 |
postgres? ( >=dev-db/postgresql-base-8.3 |
27 |
postgres? ( >=dev-db/postgresql-base-8.3 |
26 |
>=dev-db/postgis-1.1.2 ) |
28 |
>=dev-db/postgis-1.1.2 ) |
Lines 35-42
Link Here
|
35 |
unpack ${A} |
37 |
unpack ${A} |
36 |
cd "${S}" |
38 |
cd "${S}" |
37 |
|
39 |
|
38 |
epatch "${FILESDIR}"/${P}-include-fix.patch |
|
|
39 |
|
40 |
sed -i -e "s:mapniklibpath + '/fonts':'/usr/share/fonts/dejavu/':g" \ |
40 |
sed -i -e "s:mapniklibpath + '/fonts':'/usr/share/fonts/dejavu/':g" \ |
41 |
bindings/python/SConscript || die "sed 1 failed" |
41 |
bindings/python/SConscript || die "sed 1 failed" |
42 |
sed -i -e "s:/usr/local:/usr:g" SConstruct \ |
42 |
sed -i -e "s:/usr/local:/usr:g" SConstruct \ |