commit: 63e1890e45b4c5039b850ad478632068ba522f36 Author: Ben de Groot <yngwin <AT> gentoo <DOT> org> AuthorDate: Fri Feb 13 14:14:02 2015 +0000 Commit: Ben de Groot <yngwin <AT> gentoo <DOT> org> CommitDate: Fri Feb 13 14:14:02 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=dev/yngwin.git;a=commit;h=63e1890e
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 }