packages/x11-libs/osm-gps-map/osm-gps-map-0.7.3.exheres-0 (1045B) - raw
1 # Copyright 2010 Dan Callaghan <djc@djc.id.au>
2 # Distributed under the terms of the GNU General Public License v2
3
4 require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.11 ] ]
5
6 SUMMARY="GTK+ widget for displaying OpenStreetMap files"
7 HOMEPAGE="http://nzjrs.github.com/osm-gps-map/"
8 DOWNLOADS="http://www.johnstowers.co.nz/files/${PN}/${PNV}.tar.gz"
9
10 LICENCES="GPL-3"
11 SLOT="0"
12 PLATFORMS="~amd64 ~x86"
13 # gobject-introspection still broken
14 #MYOPTIONS="gobject-introspection"
15
16 DEPENDENCIES="
17 build+run:
18 gnome-desktop/libsoup:2.4
19 x11-libs/gtk+:2
20 x11-libs/cairo
21 "
22 #gobject-introspection? ( gnome-desktop/gobject-introspection )
23
24 BUGS_TO="djc@djc.id.au"
25
26 DEFAULT_SRC_CONFIGURE_PARAMS=( "--disable-introspection" )
27 #DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( "gobject-introspection introspection" )
28
29 src_prepare() {
30 sed -i \
31 -e "/osm_gps_mapdocdir =/cosm_gps_mapdocdir = \${datadir}/doc/${PNV}" \
32 Makefile.am
33 eautomake
34 }
35
36 src_install() {
37 emake -j1 DESTDIR="${IMAGE}" install
38 }