# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-geosciences/qlandkarte/qlandkarte-0.7.4.ebuild,v 1.1 2008/12/24 12:54:17 hanno Exp $ inherit autotools eutils qt4 EAPI="1" DESCRIPTION="View and upload map files, track and waypoint data to your Garmin GPS." HOMEPAGE="http://qlandkarte.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/QLandkarte_final.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="|| ( ( x11-libs/qt-core:4 x11-libs/qt-gui:4 ) =x11-libs/qt-4.3* ) sci-libs/proj dev-libs/libusb" S="${WORKDIR}/QLandkarte_final" src_unpack() { unpack ${A} cd "${S}" eautoreconf || die "eautoreconf failed" } src_compile() { econf || die "econf failed" eqmake4 QLandkarte.pro || die "eqmake4 failed" emake || die "emake failed" } src_install() { emake INSTALL_ROOT="${D}" install || die "install failed" }