summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2013-01-01 23:18:01 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2013-01-01 23:18:01 +0000
commitd76b0d38dbef8ea8c2f9e74cee0c03c5c1b48211 (patch)
tree3fe9f3b58ed35b742c5c78c8af701b79b477bf7d /dev-libs/opensc
parentversion bump (diff)
downloadgentoo-2-d76b0d38dbef8ea8c2f9e74cee0c03c5c1b48211.tar.gz
gentoo-2-d76b0d38dbef8ea8c2f9e74cee0c03c5c1b48211.tar.bz2
gentoo-2-d76b0d38dbef8ea8c2f9e74cee0c03c5c1b48211.zip
Version bump, per bug#449676
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-libs/opensc')
-rw-r--r--dev-libs/opensc/ChangeLog10
-rw-r--r--dev-libs/opensc/metadata.xml10
-rw-r--r--dev-libs/opensc/opensc-0.13.0.ebuild50
3 files changed, 64 insertions, 6 deletions
diff --git a/dev-libs/opensc/ChangeLog b/dev-libs/opensc/ChangeLog
index 569e3b8046cc..db532765513e 100644
--- a/dev-libs/opensc/ChangeLog
+++ b/dev-libs/opensc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/opensc
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/ChangeLog,v 1.132 2012/09/30 17:20:43 armin76 Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/ChangeLog,v 1.133 2013/01/01 23:18:01 alonbl Exp $
+
+*opensc-0.13.0 (01 Jan 2013)
+
+ 01 Jan 2013; Alon Bar-Lev <alonbl@gentoo.org> +opensc-0.13.0.ebuild,
+ metadata.xml:
+ Version bump, per bug#449676
30 Sep 2012; Raúl Porcel <armin76@gentoo.org> opensc-0.12.2-r2.ebuild:
alpha/ia64/m68k/s390/sh/sparc stable wrt #432766
diff --git a/dev-libs/opensc/metadata.xml b/dev-libs/opensc/metadata.xml
index 5222aae90df2..c065527334cb 100644
--- a/dev-libs/opensc/metadata.xml
+++ b/dev-libs/opensc/metadata.xml
@@ -20,14 +20,16 @@
<flag name='openct'>
Use <pkg>dev-libs/openct</pkg> (and CT-API) for accessing
- Smartcard hardware. If neither openct nor pcsc-lite are enabled,
- only CT-API dynamic linking is enabled.
+ Smartcard hardware.
+ </flag>
+
+ <flag name='ctapi'>
+ Use CT-API for accessing Smartcard hardware.
</flag>
<flag name='pcsc-lite'>
Use <pkg>sys-apps/pcsc-lite</pkg> (and PC/SC API) for accessing
- Smartcard hardware. If neither openct nor pcsc-lite are enabled,
- only CT-API dynamic linking is enabled.
+ Smartcard hardware.
</flag>
</use>
</pkgmetadata>
diff --git a/dev-libs/opensc/opensc-0.13.0.ebuild b/dev-libs/opensc/opensc-0.13.0.ebuild
new file mode 100644
index 000000000000..68102a9312d3
--- /dev/null
+++ b/dev-libs/opensc/opensc-0.13.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/opensc-0.13.0.ebuild,v 1.1 2013/01/01 23:18:01 alonbl Exp $
+
+EAPI=4
+
+DESCRIPTION="Libraries and applications to access smartcards"
+HOMEPAGE="http://www.opensc-project.org/opensc/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="doc +pcsc-lite openct ctapi readline ssl zlib"
+
+RDEPEND="zlib? ( sys-libs/zlib )
+ readline? ( sys-libs/readline )
+ ssl? ( dev-libs/openssl )
+ openct? ( >=dev-libs/openct-0.5.0 )
+ pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt"
+
+REQUIRED_USE="
+ pcsc-lite? ( !openct !ctapi )
+ openct? ( !pcsc-lite !ctapi )
+ ctapi? ( !pcsc-lite !openct )
+ || ( pcsc-lite openct ctapi )"
+
+src_configure() {
+ econf \
+ --docdir="/usr/share/doc/${PF}" \
+ --htmldir='$(docdir)/html' \
+ --disable-static \
+ $(use_enable doc) \
+ $(use_enable openct) \
+ $(use_enable readline) \
+ $(use_enable zlib) \
+ $(use_enable ssl openssl) \
+ $(use_enable pcsc-lite pcsc) \
+ $(use_enable openct) \
+ $(use_enable ctapi)
+}
+
+src_install() {
+ default
+ find "${ED}"/usr -name '*.la' -delete
+}