summaryrefslogtreecommitdiff
blob: 62e198de4a18461246828e627924ad087d1edc30 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_bioapi/pam_bioapi-0.2.1.ebuild,v 1.1 2006/10/05 13:50:35 wolf31o2 Exp $

inherit flag-o-matic eutils

DESCRIPTION="PAM interface for biometric auth"
HOMEPAGE="http://www.qrivy.net/~michael/blua/"
SRC_URI="http://www.qrivy.net/~michael/blua/pam_bioapi/pam_bioapi-${PV}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="sys-auth/bioapi
		sys-auth/tfm-fingerprint"

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/pam_bioapi.c-${PV}.patch
}

src_compile() {
	export CPPFLAGS="${CPPFLAGS} -I/opt/bioapi/include"
	econf || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	einstall || die "einstall failed"
	dodir /lib/security
	mv ${D}/usr/lib/security/* ${D}/lib/security
	rmdir ${D}/usr/lib/security
}