--- gpsdrive-2.09.ebuild 2005-04-06 21:37:04.000000000 +0200 +++ gpsdrive-2.10_pre2.ebuild 2005-06-27 17:04:06.000000000 +0200 @@ -4,22 +4,33 @@ DESCRIPTION="displays GPS position on a map" HOMEPAGE="http://gpsdrive.kraftvoll.at" -SRC_URI="http://gpsdrive.kraftvoll.at/${P}.tar.gz" +SRC_URI="http://gpsdrive.kraftvoll.at/gpsdrive-2.10pre2.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ppc amd64" -IUSE="nls" +IUSE="nls garmin teleatlas" DEPEND="sys-devel/gettext >=x11-libs/gtk+-2.0 >=dev-libs/libpcre-4.2" src_compile() { - econf `use_enable nls` || die "econf failed" - emake || die "compile failed" + #FIXME! + cd /var/tmp/portage/gpsdrive-2.10_pre2/work/gpsdrive-2.10pre2 + + local myconf="" + use !nls && myconf="${myconf} --disable-nls" + use !garmin && myconf="${myconf} --disable-garmin" + use teleatlas && myconf="${myconf} --enable-teleatlas" + + econf ${myconf} || die "configure failed" + emake || die "make failed" } src_install() { - make DESTDIR=${D} install || die + #FIXME! + cd /var/tmp/portage/gpsdrive-2.10_pre2/work/gpsdrive-2.10pre2 + + einstall DESTDIR=${D} || die "make install failed" }