summaryrefslogtreecommitdiff
blob: e542e9d8718cbee5ff292b92bf45b8af36f33f3c (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_usb/pam_usb-0.3.2.ebuild,v 1.3 2005/09/16 11:16:21 agriffis Exp $

inherit eutils pam subversion

ESVN_REPO_URI="https://pamusb.svn.sourceforge.net/svnroot/pamusb/trunk/${PN}"

DESCRIPTION="A PAM module that enables authentication using an USB-Storage device (such as an USB Pen) through DSA private/public keys."
SRC_URI=""
HOMEPAGE="http://www.pamusb.org/"

IUSE=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86"

DEPEND="
	dev-libs/libxml2
	sys-apps/dbus
	sys-apps/hal
	sys-libs/pam
	dev-python/celementtree
	dev-python/dbus-python
	dev-python/pygobject:2"

RDEPEND="${DEPEND}"

src_compile() {
	emake || die "make failed"
}

src_install() {
	# The Makefile expects these to exist
	dodir $(getpam_mod_dir) /usr/bin /usr/share/man/man1

	einstall DESTDIR=${D} PAM_MODULES="${D}/$(getpam_mod_dir)" \
		DOCS_DEST="${D}usr/share/doc/${PF}/" || die "einstall failed"
	dodoc ChangeLog
}