# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="pam interface to existing S/Key library/interface" HOMEPAGE="http://www.srce.hr/~kreator/projects/pam_skey/" SRC_URI="http://kreator.esa.fer.hr/projects/tarballs/${P}.tar.gz http://dchurch.ath.cx/${P}-gentoo-${PR}.patch.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=sys-libs/pam-0.77-r8 >=app-admin/skey-1.1.5-r4" S=${WORKDIR}/${PN} inherit eutils src_unpack() { unpack ${A} cd ${S} epatch ${WORKDIR}/${P}-gentoo-${PR}.patch } src_compile() { econf --libdir="/lib" || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR=${D} install || die dodoc README INSTALL newpamd ${FILESDIR}/pam_skey-system-auth.pam.d system-auth }