summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2018-09-23 17:50:19 +0300
committerAlon Bar-Lev <alonbl@gentoo.org>2018-09-28 02:51:42 +0300
commit5f0f0a567649ab5144eb4973534de27959bc0ee4 (patch)
tree552098fb2d37e0860105a8867c1bbd133f8f56ab /dev-libs/openct
parentdev-libs/opencryptoki: eapi bump (diff)
downloadgentoo-5f0f0a567649ab5144eb4973534de27959bc0ee4.tar.gz
gentoo-5f0f0a567649ab5144eb4973534de27959bc0ee4.tar.bz2
gentoo-5f0f0a567649ab5144eb4973534de27959bc0ee4.zip
dev-libs/openct: eapi bump
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'dev-libs/openct')
-rw-r--r--dev-libs/openct/metadata.xml3
-rw-r--r--dev-libs/openct/openct-0.6.20-r4.ebuild25
2 files changed, 8 insertions, 20 deletions
diff --git a/dev-libs/openct/metadata.xml b/dev-libs/openct/metadata.xml
index 38be29df0b18..769c5bd3d17e 100644
--- a/dev-libs/openct/metadata.xml
+++ b/dev-libs/openct/metadata.xml
@@ -13,9 +13,6 @@
<flag name="debug">
Add debug output to the driver library for pcsc-lite.
</flag>
- <flag name="udev">
- Install rules for <pkg>sys-fs/udev</pkg> to auto-start openct.
- </flag>
</use>
<upstream>
<remote-id type="github">OpenSC/openct</remote-id>
diff --git a/dev-libs/openct/openct-0.6.20-r4.ebuild b/dev-libs/openct/openct-0.6.20-r4.ebuild
index 8f874966fbf6..cb39d7698bf9 100644
--- a/dev-libs/openct/openct-0.6.20-r4.ebuild
+++ b/dev-libs/openct/openct-0.6.20-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit flag-o-matic ltprune multilib udev user
+inherit flag-o-matic multilib udev user
DESCRIPTION="library for accessing smart card terminals"
HOMEPAGE="https://github.com/OpenSC/openct/wiki"
@@ -13,22 +13,13 @@ KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
LICENSE="LGPL-2.1"
SLOT="0"
-IUSE="doc pcsc-lite usb debug +udev"
+IUSE="doc pcsc-lite usb debug"
-# Drop the libtool dep once libltdl goes stable.
RDEPEND="pcsc-lite? ( >=sys-apps/pcsc-lite-1.7.2-r1:= )
usb? ( virtual/libusb:0 )
dev-libs/libltdl:0="
-
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )"
-
-# udev is not required at all at build-time as it's only a matter of
-# installing the rules; add openrc for the checkpath used in the new
-# init script
-RDEPEND="${RDEPEND}
- udev? ( virtual/udev )
- sys-apps/openrc"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( app-doc/doxygen )"
pkg_setup() {
enewgroup openct
@@ -56,10 +47,10 @@ src_configure() {
src_install() {
default
- prune_libtool_files --all
+ find "${D}" -name '*.la' -delete || die
rm "${D}"/usr/$(get_libdir)/openct-ifd.*
- use udev && udev_newrules etc/openct.udev 70-openct.rules
+ udev_newrules etc/openct.udev 70-openct.rules
newinitd "${FILESDIR}"/openct.initd openct
}