From 29c7e34282bd8915da22c5650b067b59bbdc5f20 Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Sat, 4 Feb 2017 00:51:41 +0200 Subject: sys-apps/pcsc-slb-rf72-drv: eapi cleanups Package-Manager: portage-2.3.3 --- sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r2.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r2.ebuild') diff --git a/sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r2.ebuild b/sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r2.ebuild index 777ba41cce3e..aaa21af88224 100644 --- a/sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r2.ebuild +++ b/sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -21,6 +21,10 @@ RDEPEND="sys-apps/pcsc-lite DEPEND="${RDEPEND} virtual/pkgconfig" +DOCS=( + ERRATA README +) + PATCHES=( "${FILESDIR}/${P}-openct.patch" ) @@ -33,7 +37,7 @@ src_install () { local pcscdir="$(pkg-config --variable=usbdropdir libpcsclite)" local conf="/etc/reader.conf.d/${PN}.conf" - dodoc ERRATA README + einstalldocs dodir "${pcscdir}/serial" insinto "${pcscdir}/serial" @@ -44,7 +48,9 @@ src_install () { insinto "$(dirname "${conf}")" newins "${FILESDIR}/reader.conf" "$(basename "${conf}")" sed -i "s#%PCSC_DRIVERS_DIR%#${pcscdir}#g" "${D}/${conf}" +} +pkg_postinst() { einfo "NOTICE:" einfo "1. modify ${conf}" einfo "2. run update-reader.conf, yes this is a command..." -- cgit v1.2.3