dev-libs/opensc: version bump
authorAlon Bar-Lev <alonbl@gentoo.org>
Fri, 4 Sep 2015 18:37:01 +0000 (21:37 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Fri, 4 Sep 2015 18:37:01 +0000 (21:37 +0300)
Bug: 557062
Thanks: Francisco Lloret

Package-Manager: portage-2.2.20.1

dev-libs/opensc/Manifest
dev-libs/opensc/opensc-0.15.0.ebuild [new file with mode: 0644]

index 85aa3c0f60126d0c5a373e14822205e1a8ba2123..89772b6c84d6ecf02f3c6c33674048957a4ac936 100644 (file)
@@ -1,3 +1,4 @@
 DIST opensc-0.12.2.tar.gz 1738553 SHA256 50e7371c0f45a3ed887098b712554905e3ef639d4dfca5ac90b8af5f69f1e675 SHA512 544971f2c79723f618806c7043f0f1ffc25332752cbcaec97ffb1c99f9a2dff2237a6e5f5e020a4b9878921fec3a5234ca7e4fe9c8175c3f6142b169fcc65334 WHIRLPOOL 4969811d68d72e82c3a2b0297d5ff9aaca083b6ef8e66223d4385dce35cd9560cdda7cca8ccd38b52eb55465dbd6f8704485778b21d2a88bb548a5bbd87071e2
 DIST opensc-0.13.0.tar.gz 1946899 SHA256 abde46ae53b12b3273e40c532ffd4f7d423a51e0919a5234761453c17c089b14 SHA512 2d33088ff208f6a492dea896a0c0ccbf79b21bbcd953eb89cc7659fd60feb3e9258c2cdbb3112c30b16c3b4ef5bcfc914e0c3783894ac0b119a67116c1703a51 WHIRLPOOL 25934d790f3f855136aac263a49c0d49b604b748b9bad9f7de62d3781f37dc3e318c7fa9a20280fe7ca806ad6ea8d9ec104ba9a8a45b82237039fd965777d6e8
 DIST opensc-0.14.0.tar.gz 2039158 SHA256 facdca215f74d999b286ae246ada8d8fcb97ce58f0a6dd30d8b1c180101e9bf0 SHA512 f5b39ff5de13e9171dfd27953145abf2adf7beb3663094e43d5472a7d2c6a37c61b36993a67d3c362ff2ecf789b3b8fa4803038ba34e14f755f789c75e2978da WHIRLPOOL 1eba0c2bac92fe849e627dca4338332caff7919fd607118520352f3a69dde74adf9f7ef57e4314feceb777d8e17fe7a6abcc16f9094fc7e83287404a36b24cac
+DIST opensc-0.15.0.tar.gz 2153075 SHA256 399b2107a69e3f67e4e76dc2dbd951dbced8e534b1e0f919e176aea9b85970d7 SHA512 8d5f84206faa7f673be4ea559025b1317c69636bee0265c466f4fdc5a0a78c7f091df946f90d7622cc5497d57a782bce47edbc67b2c7338053dcd848708399ac WHIRLPOOL 94df395fc1a6d34d0deafd1b3815d2cff70112c73c20427bfa656fb5fe34ed9bf09afd87aca4f272ff447b91625d2aeac2450ad96ebaa2bcc3f9fb92d420fe17
diff --git a/dev-libs/opensc/opensc-0.15.0.ebuild b/dev-libs/opensc/opensc-0.15.0.ebuild
new file mode 100644 (file)
index 0000000..3fc15f8
--- /dev/null
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="Libraries and applications to access smartcards"
+HOMEPAGE="https://github.com/OpenSC/OpenSC/wiki"
+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 secure-messaging openct ctapi readline ssl zlib"
+
+RDEPEND="zlib? ( sys-libs/zlib )
+       readline? ( sys-libs/readline:0= )
+       ssl? ( dev-libs/openssl:0= )
+       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 secure-messaging sm) \
+               $(use_enable ssl openssl) \
+               $(use_enable pcsc-lite pcsc) \
+               $(use_enable openct) \
+               $(use_enable ctapi)
+}
+
+src_install() {
+       default
+       find "${ED}"/usr -name '*.la' -delete
+}