# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: DESCRIPTION="displays GPS position on a map" HOMEPAGE="http://gpsdrive.kraftvoll.at" SRC_URI="http://gpsdrive.kraftvoll.at/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ppc" IUSE="nls garmin" DEPEND="sys-devel/gettext >=x11-libs/gtk+-2.0 >=dev-libs/libpcre-4.2" src_compile() { local myconf use nls \ && myconf="${myconf} --enable-nls" \ || myconf="${myconf} --disable-nls" use garmin \ && myconf="${myconf} --enable-garmin" \ || myconf="${myconf} --disable-garmin" econf ${myconf} || die "econf failed" emake || die "compile failed" } src_install() { make DESTDIR=${D} install || die }