app-crypt/ccid: eapi bump
authorAlon Bar-Lev <alonbl@gentoo.org>
Sat, 4 Feb 2017 00:49:34 +0000 (02:49 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sat, 4 Feb 2017 01:30:53 +0000 (03:30 +0200)
Package-Manager: portage-2.3.3

app-crypt/ccid/ccid-1.4.26.ebuild

index 651f1f593fe974f3dcd0cee7cbbe8f41621629cf..3f8d55ed380012cf5ac8381ac86ef8c3f9292b30 100644 (file)
@@ -2,11 +2,11 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 STUPID_NUM="4205"
 
-inherit eutils toolchain-funcs udev autotools-utils
+inherit eutils toolchain-funcs udev
 
 DESCRIPTION="CCID free software driver"
 HOMEPAGE="http://pcsclite.alioth.debian.org/ccid.html"
@@ -25,25 +25,22 @@ DEPEND="${RDEPEND}
 DOCS=( README AUTHORS )
 
 src_configure() {
-       local myeconfargs=(
-               LEX=:
-               $(use_enable twinserial)
+       econf \
+               LEX=: \
+               $(use_enable twinserial) \
                $(use_enable usb libusb)
-       )
-
-       autotools-utils_src_configure
 }
 
 src_compile() {
-       autotools-utils_src_compile
-       use kobil-midentity && autotools-utils_src_compile contrib/Kobil_mIDentity_switch
+       default
+       use kobil-midentity && emake -C contrib/Kobil_mIDentity_switch
 }
 
 src_install() {
-       autotools-utils_src_install
+       default
 
        if use kobil-midentity; then
-               dosbin "${BUILD_DIR}"/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch
+               dosbin contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch
                doman contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.8
        fi