Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 97208 | Differences between
and this patch

Collapse All | Expand All

(-)gpsdrive-2.09.ebuild (-5 / +16 lines)
Lines 4-25 Link Here
4
4
5
DESCRIPTION="displays GPS position on a map"
5
DESCRIPTION="displays GPS position on a map"
6
HOMEPAGE="http://gpsdrive.kraftvoll.at"
6
HOMEPAGE="http://gpsdrive.kraftvoll.at"
7
SRC_URI="http://gpsdrive.kraftvoll.at/${P}.tar.gz"
7
SRC_URI="http://gpsdrive.kraftvoll.at/gpsdrive-2.10pre2.tar.gz"
8
8
9
LICENSE="GPL-2"
9
LICENSE="GPL-2"
10
SLOT="0"
10
SLOT="0"
11
KEYWORDS="~x86 ppc amd64"
11
KEYWORDS="~x86 ppc amd64"
12
12
13
IUSE="nls"
13
IUSE="nls garmin teleatlas"
14
DEPEND="sys-devel/gettext
14
DEPEND="sys-devel/gettext
15
	>=x11-libs/gtk+-2.0
15
	>=x11-libs/gtk+-2.0
16
	>=dev-libs/libpcre-4.2"
16
	>=dev-libs/libpcre-4.2"
17
17
18
src_compile() {
18
src_compile() {
19
	econf `use_enable nls` || die "econf failed"
19
	#FIXME!
20
	emake || die "compile failed"
20
	cd /var/tmp/portage/gpsdrive-2.10_pre2/work/gpsdrive-2.10pre2
21
	
22
	local myconf=""
23
	use !nls && myconf="${myconf} --disable-nls"
24
	use !garmin && myconf="${myconf} --disable-garmin"
25
	use teleatlas && myconf="${myconf} --enable-teleatlas"
26
27
	econf ${myconf} || die "configure failed"
28
	emake || die "make failed"
21
}
29
}
22
30
23
src_install() {
31
src_install() {
24
	make DESTDIR=${D} install || die
32
	#FIXME!
33
	cd /var/tmp/portage/gpsdrive-2.10_pre2/work/gpsdrive-2.10pre2
34
	
35
	einstall DESTDIR=${D} || die "make install failed"
25
}
36
}

Return to bug 97208