app-crypt/libu2f-host: eapi bump

Package-Manager: portage-2.3.3
This commit is contained in:
Alon Bar-Lev
2017-02-04 02:12:05 +02:00
parent c42d4a9c4e
commit b2b61d54ca

View File

@@ -1,10 +1,10 @@
# 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 autotools-utils linux-info udev user
inherit linux-info udev user
DESCRIPTION="Yubico Universal 2nd Factor (U2F) Host C Library"
HOMEPAGE="https://developers.yubico.com/libu2f-host/"
@@ -34,19 +34,13 @@ pkg_setup() {
}
src_prepare() {
autotools-utils_src_prepare
default
sed -e 's:TAG+="uaccess":MODE="0664", GROUP="plugdev":g' \
70-u2f.rules > 70-u2f-udev.rules || die
}
src_configure() {
autotools-utils_src_configure
}
src_install() {
autotools-utils_src_install
default
if use kernel_linux; then
if use systemd; then
udev_dorules 70-u2f.rules