diff options
author | 2015-02-13 22:14:02 +0800 | |
---|---|---|
committer | 2015-02-13 22:14:02 +0800 | |
commit | 63e1890e45b4c5039b850ad478632068ba522f36 (patch) | |
tree | ac61e9a965b90e3fe3ebd3c02d15de71c62bc641 | |
parent | sys-auth/poldi: install all docs (diff) | |
download | yngwin-63e1890e45b4c5039b850ad478632068ba522f36.tar.gz yngwin-63e1890e45b4c5039b850ad478632068ba522f36.tar.bz2 yngwin-63e1890e45b4c5039b850ad478632068ba522f36.zip |
sys-auth/poldi: improve ebuild with grknight's changes
-rw-r--r-- | sys-auth/poldi/poldi-0.4.1.ebuild | 15 |
1 files 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 } |