summaryrefslogtreecommitdiff
blob: 6b2b1b33647c3ad77d015d37b88ce6633ca2be55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/memphis/memphis-0.2.3.ebuild,v 1.1 2010/09/19 20:11:37 jlec Exp $

EAPI="3"

WANT_AUTOMAKE=1.11

inherit autotools base

DESCRIPTION="A map-rendering application and a library for OpenStreetMap"
HOMEPAGE="http://trac.openstreetmap.ch/trac/memphis"
SRC_URI="http://wenner.ch/files/public/mirror/${PN}/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0.2"
KEYWORDS="~amd64 ~x86"
IUSE="debug doc introspection vala"

RDEPEND="
	>=dev-libs/expat-2.0.1
	>=dev-libs/glib-2.3.4
	>=x11-libs/cairo-1.8.8
	introspection? ( dev-libs/gobject-introspection )
	vala? ( dev-lang/vala )"
DEPEND="${RDEPEND}
		doc? ( >=dev-util/gtk-doc-1.12 )"

DOCS=(AUTHORS ChangeLog NEWS README)

#src_prepare() {
#	sed '/Werror/d' -i configure.ac
#	eautoreconf
#}

src_configure() {
	CFLAGS="${CFLAGS}" \
	econf \
		$(use_enable debug) \
		$(use_enable doc gtk-doc) \
		$(use_enable introspection) \
		$(use_enable vala)
}