* [gentoo-commits] gentoo-x86 commit in dev-libs/opensc: metadata.xml ChangeLog opensc-0.12.2.ebuild
@ 2011-09-13 22:29 Mike Frysinger (vapier)
0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2011-09-13 22:29 UTC (permalink / raw
To: gentoo-commits
vapier 11/09/13 22:29:44
Modified: metadata.xml ChangeLog
Added: opensc-0.12.2.ebuild
Log:
Version bump. Add USE=libtool to control the libltdl dep (and prefer libdl/dlopen), and add USE=static-libs.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Revision Changes Path
1.5 dev-libs/opensc/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/opensc/metadata.xml?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/opensc/metadata.xml?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/opensc/metadata.xml?r1=1.4&r2=1.5
Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/opensc/metadata.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- metadata.xml 18 Apr 2011 18:49:57 -0000 1.4
+++ metadata.xml 13 Sep 2011 22:29:44 -0000 1.5
@@ -17,6 +17,11 @@
card.
</longdescription>
<use>
+ <flag name='libtool'>
+ Use <pkg>sys-devel/libtool</pkg> for dynamically loading libraries
+ rather than the host libdl/dlopen helpers.
+ </flag>
+
<flag name='openct'>
Use <pkg>dev-libs/openct</pkg> (and CT-API) for accessing
Smartcard hardware. If neither openct nor pcsc-lite are enabled,
1.116 dev-libs/opensc/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/opensc/ChangeLog?rev=1.116&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/opensc/ChangeLog?rev=1.116&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/opensc/ChangeLog?r1=1.115&r2=1.116
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/opensc/ChangeLog,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -r1.115 -r1.116
--- ChangeLog 7 Jul 2011 14:27:49 -0000 1.115
+++ ChangeLog 13 Sep 2011 22:29:44 -0000 1.116
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/opensc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/ChangeLog,v 1.115 2011/07/07 14:27:49 c1pher Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/ChangeLog,v 1.116 2011/09/13 22:29:44 vapier Exp $
+
+*opensc-0.12.2 (13 Sep 2011)
+
+ 13 Sep 2011; Mike Frysinger <vapier@gentoo.org> +opensc-0.12.2.ebuild,
+ metadata.xml:
+ Version bump. Add USE=libtool to control the libltdl dep (and prefer
+ libdl/dlopen), and add USE=static-libs.
*opensc-0.12.1 (07 Jul 2011)
1.1 dev-libs/opensc/opensc-0.12.2.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/opensc/opensc-0.12.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/opensc/opensc-0.12.2.ebuild?rev=1.1&content-type=text/plain
Index: opensc-0.12.2.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/opensc-0.12.2.ebuild,v 1.1 2011/09/13 22:29:44 vapier Exp $
EAPI="4"
inherit eutils autotools
DESCRIPTION="Libraries and applications to access smartcards."
HOMEPAGE="http://www.opensc-project.org/opensc/"
SRC_URI="http://www.opensc-project.org/files/${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 libtool +pcsc-lite openct readline ssl static-libs zlib"
RDEPEND="libtool? ( sys-devel/libtool )
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}
dev-util/pkgconfig
app-text/docbook-xsl-stylesheets
dev-libs/libxslt"
REQUIRED_USE="
pcsc-lite? ( !openct )
openct? ( !pcsc-lite )"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.12.1-crossbuild.patch
eautoreconf
}
usex() { use $1 && echo ${2:-yes} || echo ${3:-no} ; }
src_configure() {
# disable everything, enable selectively
local myconf="--disable-pcsc --disable-openct --disable-ctapi"
if use pcsc-lite; then
myconf+=" --enable-pcsc"
elif use openct; then
myconf+=" --enable-openct"
else
myconf+=" --enable-ctapi"
fi
# the configure script prefers libtool's libltdl over
# the native system's dlopen ... so we have to manually
# control the behavior to something a bit more sane
export ac_cv_header_ltdl_h=$(usex libtool) \
ac_cv_lib_ltdl_lt_dlopen=$(usex libtool)
econf \
--docdir="/usr/share/doc/${PF}" \
--htmldir="/usr/share/doc/${PF}/html" \
$(use_enable doc) \
$(use_enable openct) \
$(use_enable readline) \
$(use_enable static-libs static) \
$(use_enable zlib) \
${myconf}
}
src_install() {
emake DESTDIR="${D}" install
use static-libs || find "${D}" -name '*.la' -delete
dodoc ChangeLog
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-13 22:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-13 22:29 [gentoo-commits] gentoo-x86 commit in dev-libs/opensc: metadata.xml ChangeLog opensc-0.12.2.ebuild Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox