summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-05-02 19:10:30 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-05-02 19:10:30 +0000
commitd34cff87443b9bc97b015a29a82723e04e7882cc (patch)
tree1bf8072e2547a6d268f5aa72ccbfb47978147314 /dev-libs
parentredigested (diff)
downloadgentoo-2-d34cff87443b9bc97b015a29a82723e04e7882cc.tar.gz
gentoo-2-d34cff87443b9bc97b015a29a82723e04e7882cc.tar.bz2
gentoo-2-d34cff87443b9bc97b015a29a82723e04e7882cc.zip
Add optional support for sys-apps/pcsc-lite (bug #264630).
(Portage version: 13595-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/openct/ChangeLog6
-rw-r--r--dev-libs/openct/metadata.xml3
-rw-r--r--dev-libs/openct/openct-0.6.15.ebuild17
3 files changed, 17 insertions, 9 deletions
diff --git a/dev-libs/openct/ChangeLog b/dev-libs/openct/ChangeLog
index d85f0885bb07..d81f563049e1 100644
--- a/dev-libs/openct/ChangeLog
+++ b/dev-libs/openct/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/openct
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/ChangeLog,v 1.64 2009/04/02 15:03:33 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/ChangeLog,v 1.65 2009/05/02 19:10:30 arfrever Exp $
+
+ 02 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ openct-0.6.15.ebuild, metadata.xml:
+ Add optional support for sys-apps/pcsc-lite (bug #264630).
02 Apr 2009; Raúl Porcel <armin76@gentoo.org> openct-0.6.15.ebuild:
arm/ia64/m68k/s390/sh/sparc stable wrt #263401
diff --git a/dev-libs/openct/metadata.xml b/dev-libs/openct/metadata.xml
index b02ffbb5d348..2093d2a740f2 100644
--- a/dev-libs/openct/metadata.xml
+++ b/dev-libs/openct/metadata.xml
@@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>crypto</herd>
+ <use>
+ <flag name="pcsc-lite">Enable support for <pkg>sys-apps/pcsc-lite</pkg></flag>
+ </use>
</pkgmetadata>
diff --git a/dev-libs/openct/openct-0.6.15.ebuild b/dev-libs/openct/openct-0.6.15.ebuild
index 1536f64fdceb..032b2be40a20 100644
--- a/dev-libs/openct/openct-0.6.15.ebuild
+++ b/dev-libs/openct/openct-0.6.15.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/openct-0.6.15.ebuild,v 1.6 2009/04/02 15:03:33 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/openct-0.6.15.ebuild,v 1.7 2009/05/02 19:10:30 arfrever Exp $
inherit eutils
@@ -12,9 +12,10 @@ KEYWORDS="~alpha amd64 arm ~hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
LICENSE="LGPL-2.1"
SLOT="0"
-IUSE="usb doc"
+IUSE="doc pcsc-lite usb"
-RDEPEND="usb? ( >=dev-libs/libusb-0.1.7 )
+RDEPEND="pcsc-lite? ( sys-apps/pcsc-lite )
+ usb? ( >=dev-libs/libusb-0.1.7 )
>=sys-fs/udev-096"
DEPEND="${RDEPEND}
@@ -34,18 +35,18 @@ src_compile() {
--enable-non-privileged \
--with-daemon-user=openctd \
--with-daemon-groups=usb \
- $(use_enable usb) \
$(use_enable doc) \
$(use_enable doc api-doc) \
- || die
- emake || die
+ $(use_enable pcsc-lite pcsc) \
+ $(use_enable usb)
+ emake || die "emake failed"
}
src_install() {
- emake DESTDIR="${D}" install || die
+ emake DESTDIR="${D}" install || die "emake install failed"
insinto /etc/udev/rules.d/
- newins etc/openct.udev 70-openct.rules || die
+ newins etc/openct.udev 70-openct.rules || die "newins 70-openct.rules failed"
diropts -m0750 -gopenct -oopenctd
keepdir /var/run/openct