# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 SRC_URI="http://www.n-view.net/Appliance/fingerprint/download/${PN}-${PV}-src.tar.gz" inherit qt4-r2 DESCRIPTION="GUI for libfprint" HOMEPAGE="http://www.n-view.net/Appliance/fingerprint/" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="upekbsapi" RDEPEND=" " DEPEND="${RDEPEND} >=x11-libs/libfakekey-0.1 >=sys-auth/libfprint-0.1.0_pre2 >=app-crypt/qca-2.0.0 >=app-crypt/qca-ossl-2.0.0_beta3 >=x11-libs/qt-core-4.0.0 !sys-auth/pam_fprint !sys-auth/thinkfinger " #>=x11-libs/qt-xmlpatterns-4.0.0 src_compile() { eqmake4 || die emake || die } src_install() { emake INSTALL_ROOT="${D}" DESTDIR=${D} install || die "emake install failed" dodoc README CHANGELOG IMPORTANT-UPGRADE-INFORMATION.txt COPYING Install-step-by-step.pdf Install-step-by-step.html if use upekbsapi; then if [ "`uname -a | grep x86_64`" == "" ]; then dolib ${S}/upek/lib/libbsapi.so else dolib ${S}/upek/lib64/libbsapi.so fi insinto /etc/udev/rules.d/ doins ${S}/upek/91-fingerprint-gui-upek.rules fi }