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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sun May 13 22:13:29 2012 UTC (3 years, 3 months ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Fix bug #412299, thanks to Michelangelo Scopelliti for reporting. Also remove old versions.

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

1 # Copyright 1999-2012 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.11.13.ebuild,v 1.9 2012/05/04 18:35:51 jdhore Exp $
4
5 EAPI="2"
6
7 inherit eutils
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 openct pcsc-lite"
18
19 # libtool is required at runtime for libltdl
20 RDEPEND="dev-libs/openssl
21 sys-libs/zlib
22 sys-devel/libtool
23 sys-libs/readline
24 openct? ( >=dev-libs/openct-0.5.0 )
25 pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 )"
26 DEPEND="${RDEPEND}
27 virtual/pkgconfig"
28
29 pkg_setup() {
30 if use openct; then
31 elog "Support for openct is deprecated."
32 elog "It is recommended to use pcsc-lite."
33 fi
34 }
35
36 src_prepare() {
37 epatch "${FILESDIR}"/${P}+pcsc-lite-1.6.2.patch
38 }
39
40 src_configure() {
41 econf \
42 --docdir="/usr/share/doc/${PF}" \
43 --htmldir="/usr/share/doc/${PF}/html" \
44 $(use_enable doc) \
45 $(use_enable openct) \
46 $(use_enable pcsc-lite pcsc) \
47 --with-pinentry="/usr/bin/pinentry"
48 }
49
50 src_install() {
51 emake DESTDIR="${D}" install || die "emake install failed"
52 }

  ViewVC Help
Powered by ViewVC 1.1.20