From 63e1890e45b4c5039b850ad478632068ba522f36 Mon Sep 17 00:00:00 2001 From: Ben de Groot Date: Fri, 13 Feb 2015 22:14:02 +0800 Subject: sys-auth/poldi: improve ebuild with grknight's changes --- sys-auth/poldi/poldi-0.4.1.ebuild | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/sys-auth/poldi/poldi-0.4.1.ebuild b/sys-auth/poldi/poldi-0.4.1.ebuild index e971f75..2c4b45a 100644 --- a/sys-auth/poldi/poldi-0.4.1.ebuild +++ b/sys-auth/poldi/poldi-0.4.1.ebuild @@ -3,7 +3,7 @@ # $Header: $ EAPI=5 -inherit pam +inherit autotools pam DESCRIPTION="PAM module implementing authentication via OpenPGP smartcards" HOMEPAGE="http://www.gnupg.org/" @@ -20,14 +20,19 @@ DEPEND="dev-libs/libgcrypt usb? ( >=dev-libs/libusb-0.1.10a )" RDEPEND="${DEPEND}" +DOCS=( AUTHORS ChangeLog INSTALL NEWS README THANKS ) + src_prepare() { epatch "${FILESDIR}"/*.diff + eautoreconf +} + +src_configure() { + econf --with-pam-module-directory=$(getpam_mod_dir) } src_install() { default - dopammod "${S}"/src/pam/pam_poldi.so - dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS - dodir /etc/poldi - cp "${FILESDIR}"/poldi.conf.example "${D}"/etc/poldi + insinto /etc/poldi + doins "${FILESDIR}"/poldi.conf.example } -- cgit v1.2.3-65-gdbad