summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2017-02-04 00:51:41 +0200
committerAlon Bar-Lev <alonbl@gentoo.org>2017-02-04 03:30:46 +0200
commit29c7e34282bd8915da22c5650b067b59bbdc5f20 (patch)
tree1b7b357b9854a6d0430d9f43b76b5a40257157f1 /sys-apps/pcsc-slb-rf72-drv
parentsys-apps/pcsc-tools: eapi bump (diff)
downloadgentoo-29c7e34282bd8915da22c5650b067b59bbdc5f20.tar.gz
gentoo-29c7e34282bd8915da22c5650b067b59bbdc5f20.tar.bz2
gentoo-29c7e34282bd8915da22c5650b067b59bbdc5f20.zip
sys-apps/pcsc-slb-rf72-drv: eapi cleanups
Package-Manager: portage-2.3.3
Diffstat (limited to 'sys-apps/pcsc-slb-rf72-drv')
-rw-r--r--sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r2.ebuild10
1 files changed, 8 insertions, 2 deletions
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..."