1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Library and tool for personalization of Yubico's YubiKey"
9 SRC_URI="https://github.com/Yubico/yubikey-personalization/archive/v${PV}.tar.gz -> ${P}.tar.gz"
10 HOMEPAGE="https://github.com/Yubico/yubikey-personalization"
15 IUSE="consolekit static-libs"
19 >=sys-auth/libyubikey-1.6
25 consolekit? ( sys-auth/consolekit[acl] )
28 S="${WORKDIR}/yubikey-personalization-${PV}"
30 DOCS=( doc/. AUTHORS NEWS README )
39 --libdir=/usr/$(get_libdir)
41 $(use_enable static-libs static)
43 econf "${myeconfargs[@]}"
49 udev_dorules 69-yubikey.rules
50 if use consolekit ; then
51 udev_dorules 70-yubikey.rules
54 find "${D}" -name '*.la' -delete || die