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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Apr 18 18:49:57 2011 UTC (3 years, 5 months ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Revision bump: when both pcsc-lite and openct are disabled, build the dynamic CT-API interface only rather than error out. This is useful if you only care about the PKCS#11 utilities, rather than actual Smartcard access.

(Portage version: 2.2.0_alpha30/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-r1.ebuild,v 1.2 2011/04/12 20:07:44 flameeyes Exp $
4
5 EAPI="4"
6
7 DESCRIPTION="Libraries and applications to access smartcards."
8 HOMEPAGE="http://www.opensc-project.org/opensc/"
9
10 SRC_URI="http://www.opensc-project.org/files/${PN}/${P}.tar.gz"
11 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
12
13 LICENSE="LGPL-2.1"
14 SLOT="0"
15 IUSE="doc +pcsc-lite openct readline ssl zlib"
16
17 # libtool is required at runtime for libltdl
18 RDEPEND="sys-devel/libtool
19 zlib? ( sys-libs/zlib )
20 readline? ( sys-libs/readline )
21 ssl? ( dev-libs/openssl )
22 openct? ( >=dev-libs/openct-0.5.0 )
23 pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 )"
24 DEPEND="${RDEPEND}
25 dev-util/pkgconfig
26 app-text/docbook-xsl-stylesheets
27 dev-libs/libxslt"
28
29 REQUIRED_USE="^^ ( pcsc-lite openct )"
30
31 src_configure() {
32 econf \
33 --docdir="/usr/share/doc/${PF}" \
34 --htmldir="/usr/share/doc/${PF}/html" \
35 --disable-static \
36 $(use_enable doc) \
37 $(use_enable openct) \
38 $(use_enable pcsc-lite pcsc) \
39 $(use_enable readline) \
40 $(use_enable ssl openssl) \
41 $(use_enable zlib)
42 }
43
44 src_install() {
45 emake DESTDIR="${D}" install || die
46 find "${D}" -name '*.la' -delete
47
48 dodoc ChangeLog
49 }

  ViewVC Help
Powered by ViewVC 1.1.20