sys-apps/pcsc-tools: eapi bump
authorAlon Bar-Lev <alonbl@gentoo.org>
Fri, 3 Feb 2017 22:46:30 +0000 (00:46 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sat, 4 Feb 2017 01:30:45 +0000 (03:30 +0200)
Package-Manager: portage-2.3.3

sys-apps/pcsc-tools/pcsc-tools-1.4.27.ebuild

index 10400523c811b1ea24f36dd2405ca7b3e04d57f1..21935ed76bc807a4355212bcb7c24e7798c418c2 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 inherit eutils fdo-mime multilib toolchain-funcs
 
@@ -23,7 +23,12 @@ RDEPEND="${RDEPEND}
        dev-perl/pcsc-perl
        gtk? ( dev-perl/gtk2-perl )"
 
+DOCS=(
+       README Changelog
+)
+
 src_prepare() {
+       default
        sed -i -e 's:-Wall -O2:$(CFLAGS):g' Makefile
 }
 
@@ -34,13 +39,13 @@ src_compile() {
 }
 
 src_install() {
+       einstalldocs
+
        # install manually, makes it much easier since the Makefile
        # requires fiddling with
        dobin ATR_analysis scriptor pcsc_scan
        doman pcsc_scan.1 scriptor.1p ATR_analysis.1p
 
-       dodoc README Changelog
-
        if use gtk; then
                domenu gscriptor.desktop
                dobin gscriptor