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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Feb 27 21:57:16 2009 UTC (5 years, 9 months ago) by dragonheart
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +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.4.ebuild,v 1.2 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 econf \
25 $(use_enable openct) \
26 $(use_enable pcsc-lite) \
27 $(use_enable nsplugin) \
28 --with-plugin-dir=/usr/lib/mozilla/plugins \
29 --with-pin-entry="/usr/bin/pinentry" \
30 || die
31
32 emake || die
33 }
34
35 src_install() {
36 emake install DESTDIR="${D}" || die
37
38 dodoc NEWS README
39 dohtml doc/*.{html,css}
40
41 insinto /etc
42 doins etc/opensc.conf
43 }

  ViewVC Help
Powered by ViewVC 1.1.20