# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Heade$ inherit eutils pam DESCRIPTION="Pam_p11 is a plugable authentication module (pam) package for using cryptographic tokens such as smart cards and usb crypto tokens for authentication." HOMEPAGE="http://www.opensc.org/" SRC_URI="http://www.opensc.org/files/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/pam dev-libs/openssl dev-libs/libp11" RDEPEND="${DEPENDS}" src_unpack() { unpack ${A} cd "${S}" epatch ${FILESDIR}/${P}-makefile.patch || die "epatch failed" ./bootstrap || die "bootstrap failed" } src_install() { dopammod ${S}/src/.libs/pam_p11_opensc.so dopammod ${S}/src/.libs/pam_p11_openssh.so dodoc COPYING }