summaryrefslogtreecommitdiffstats
path: root/sci-geosciences/gosmore/gosmore-9999.ebuild
blob: 66e8c3ba0022dbddbb553064435a97af6b2a0fbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
EAPI="1"
inherit subversion

DESCRIPTION="osmore is a routing and viewer of OSM XML data"
HOMEPAGE="http://wiki.openstreetmap.org/wiki/Gosmore"
SRC_URI=""

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="x86 amd64"

ESVN_REPO_URI="http://svn.openstreetmap.org/applications/rendering/gosmore/"

src_compile() {
    perl -pi -e "s|\(prefix\)/usr/share/|(prefix)/share/gosmore/|g" Makefile || die

    emake prefix=/usr
}

src_install () {
    emake install DESTDIR="${D}" prefix=/usr
}