blob: 4fd6c06a83cfbd9ef21d2ddd96a3f2d058d6ed6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
inherit qt4-r2 versionator multilib
#pam
MY_PV=$(replace_version_separator 2 -)
DESCRIPTION="Use Fingerprint Devices with Linux"
HOMEPAGE="http://www.n-view.net/Appliance/fingerprint/"
SRC_URI="http://www.n-view.net/Appliance/fingerprint/download/${PN}-${MY_PV}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="upekbsapi"
DEPEND="
!sys-auth/pam_fprint
!sys-auth/fprintd
!sys-auth/thinkfinger
>=sys-auth/libfprint-0.1.0_pre2
x11-libs/libfakekey
>=app-crypt/qca-2.0.0
>=app-crypt/qca-ossl-2.0.0_beta3
sys-auth/upekbsapi-bin[headers]
x11-libs/qt-core:4
x11-libs/qt-gui:4
"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-${MY_PV}"
src_configure() {
eqmake4 \
PREFIX="$EROOT/usr" \
LIB="$(get_libdir)" \
LIBEXEC=libexec \
LIBPOLKIT_QT=LIBPOLKIT_QT_1_1 || die "qmake4 failed"
}
src_install() {
emake INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "emake install failed"
domenu bin/fingerprint-gui/fingerprint-gui.desktop
dodoc CHANGELOG README IMPORTANT-UPGRADE-INFORMATION.txt \
"${FILESDIR}/Install-step-by-step.html"
}
pkg_postinst() {
elog "1) You may want to add the followingline to the first of /etc/pam.d/system-auth"
elog " auth sufficient pam_fingerprint-gui.so"
elog "2) You must be in the plugdev group to use fingerprint"
if use upekbsapi; then
elog "3) You select to install upeks bsapi library, it's not open-sourced."
elog " Use it in your own risk."
fi
elog "*) Please see /usr/share/doc/${P}/Install-step-by-step.* to configure your device"
}
|