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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Fri Feb 27 21:57:16 2009 UTC (5 years, 4 months ago) by dragonheart
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
version bump ref security bug #260514. remove some older versions
(Portage version: 2.2_rc23/cvs/Linux x86_64)

1 # Copyright 1999-2008 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.3.ebuild,v 1.10 2008/08/31 00:31:25 dragonheart Exp $
4
5 DESCRIPTION="SmartCard library and applications"
6 HOMEPAGE="http://www.opensc-project.org/opensc/"
7 SRC_URI="http://www.opensc-project.org/files/opensc/${P}.tar.gz"
8
9 LICENSE="LGPL-2.1"
10 SLOT="0"
11 KEYWORDS="alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86"
12 IUSE="pcsc-lite openct nsplugin"
13
14 RDEPEND="dev-libs/openssl
15 sys-libs/zlib
16 openct? ( >=dev-libs/openct-0.5.0 )
17 pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 )
18 nsplugin? ( app-crypt/pinentry x11-libs/libXt )"
19 DEPEND="${RDEPEND}
20 dev-util/pkgconfig
21 nsplugin? ( dev-libs/libassuan )"
22
23 src_compile() {
24 local ASSUAN_PREFIX="${T}"
25
26 # disable assuan stuff it create text realocation.
27 use nsplugin && ASSUAN_PREFIX=/usr
28
29 # --without-plugin-dir generates a /no directory
30 econf \
31 $(use_enable openct) \
32 $(use_enable pcsc-lite) \
33 --with-plugin-dir=/usr/lib/mozilla/plugins \
34 --with-libassuan-prefix="${ASSUAN_PREFIX}" \
35 --with-pin-entry="/usr/bin/pinentry" \
36 || die
37
38 emake || die
39 }
40
41 src_install() {
42 emake install DESTDIR="${D}" || die
43
44 dodoc NEWS README
45 dohtml doc/*.{html,css}
46
47 insinto /etc
48 doins etc/opensc.conf
49 }

  ViewVC Help
Powered by ViewVC 1.1.20