/[gentoo-x86]/dev-libs/opensc/opensc-0.12.0.ebuild
Gentoo

Contents of /dev-libs/opensc/opensc-0.12.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Apr 12 07:13:18 2011 UTC (3 years, 6 months ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Revision bump, thanks to Alon Bar-Lev in bug #351634: re-enable openct backend as an alternative to pcsc-lite (which otherwise would require some KEYWORDS to be dropped); use EAPI=4 and REQUIRED_USE to specify that exactly one between pcsc-lite and openct can be enabled; enable pcsc-lite by default; (these last two also fix bug #363119 by William Keaney); depend on libxslt and docbook stylesheets as it's required to produce the man pages; general cleanups.

(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/opensc-0.12.0.ebuild,v 1.1 2011/03/14 00:33:33 kingtaco Exp $
4
5 EAPI="2"
6
7 inherit eutils autotools
8
9 DESCRIPTION="SmartCard library and applications"
10 HOMEPAGE="http://www.opensc-project.org/opensc/"
11
12 SRC_URI="http://www.opensc-project.org/files/${PN}/${P}.tar.gz"
13 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
14
15 LICENSE="LGPL-2.1"
16 SLOT="0"
17 IUSE="doc pcsc-lite readline ssl zlib"
18
19 # libtool is required at runtime for libltdl
20 RDEPEND="
21 sys-devel/libtool
22 zlib? ( sys-libs/zlib )
23 readline? ( sys-libs/readline )
24 ssl? ( dev-libs/openssl )
25 pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 )"
26 DEPEND="${RDEPEND}
27 dev-util/pkgconfig"
28
29 src_prepare() {
30 eautoreconf
31 }
32
33 src_configure() {
34 econf \
35 --docdir="/usr/share/doc/${PF}" \
36 --htmldir="/usr/share/doc/${PF}/html" \
37 $(use_enable doc) \
38 $(use_enable pcsc-lite pcsc) \
39 $(use_enable readline) \
40 $(use_enable ssl openssl) \
41 $(use_enable zlib) \
42 --with-pinentry="/usr/bin/pinentry"
43 }
44
45 src_install() {
46 emake DESTDIR="${D}" install || die "emake install failed"
47 }

  ViewVC Help
Powered by ViewVC 1.1.20