blob: c560da4c014e63d4cf4a2dc7d1dded965e87dee7 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="4"
inherit autotools git-2
DESCRIPTION="Terrain editing programs for FlightGear"
HOMEPAGE="http://terragear.sourceforge.net/"
EGIT_REPO_URI="git://gitorious.org/fg/${PN}.git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="gdal"
DEPEND="dev-games/simgear
dev-libs/newmat
media-libs/plib
|| ( =x11-libs/agg-2.5 >x11-libs/agg-2.5[gpc] )
gdal? ( sci-libs/gdal )
"
RDEPEND="${DEPEND}"
src_prepare() {
epatch ${FILESDIR}/"${PN}"-use-agg.patch
eautoreconf
}
src_configure() {
econf \
$(use_with gdal)
}
|