# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit qt4 versionator MAJOR_PV="$(get_version_component_range 1-3)" FULL_PV="${MAJOR_PV}-$(get_version_component_range 4)" DESCRIPTION="The X2Go pinentry module" HOMEPAGE="http://x2go.berlios.de" SRC_URI="http://x2go.obviously-nice.de/deb/pool-lenny/${PN}/${PN}_${FULL_PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="qt gtk" DEPEND="qt? ( >=x11-libs/qt-3.0.1:3 ) \ gtk? ( >=x11-libs/gtk+-2.0.0 )" S=${WORKDIR}/${PN}-${MAJOR_PV} src_configure() { econf $(use_enable qt pinentry-qt) $(use_enable gtk pinentry-gtk2) || die "econf failed!" } src_compile() { emake || die # qmake -project -o ${PN}.pro || die "Error: building project file" # eqmake4 # emake || die "emake failed" } src_install() { einstall || die "einstall failed" dodoc README }