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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Nov 12 15:06:19 2005 UTC (9 years, 1 month ago) by vanquirius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
0.10.0 version bump
(Portage version: 2.0.53_rc7)

1 # Copyright 1999-2005 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.8.1-r1.ebuild,v 1.3 2005/09/17 00:59:18 ciaranm Exp $
4
5 inherit eutils
6
7 DESCRIPTION="SmartCard library and applications"
8 HOMEPAGE="http://www.opensc.org/"
9 SRC_URI="http://www.opensc.org/files/${P}.tar.gz"
10
11 LICENSE="LGPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ppc x86 ~ppc64"
14 IUSE="ldap pam pcsc-lite X"
15
16 RDEPEND="ldap? ( net-nds/openldap )
17 pam? ( >=sys-libs/pam-0.77
18 >=sys-apps/shadow-4.0.3 )
19 X? ( virtual/x11 )
20 pcsc-lite? ( sys-apps/pcsc-lite )
21 !pcsc-lite? ( >=dev-libs/openct-0.5.0 )"
22
23 src_unpack() {
24 unpack ${A}
25 cd ${S}
26 use X || echo 'all:'$'\n''install:' > src/signer/Makefile.in
27 epatch ${FILESDIR}/${PV}-64bit.patch
28 }
29
30 src_compile() {
31 local mycard=""
32 use pcsc-lite \
33 && mycard="--with-pcsclite" \
34 || mycard="--with-openct=/usr"
35 econf \
36 --disable-usbtoken \
37 --without-plugin-dir \
38 `use_enable ldap` \
39 `use_with pam` \
40 ${mycard} \
41 || die
42 emake -j1 || die
43 }
44
45 src_install() {
46 make install DESTDIR=${D} || die
47
48 if use pam ; then
49 dodir /lib/security/
50 dosym ../../usr/lib/security/pam_opensc.so /lib/security/
51 fi
52
53 dodoc ANNOUNCE AUTHORS ChangeLog NEWS README
54 dohtml docs/opensc.html docs/opensc.css
55 }

  ViewVC Help
Powered by ViewVC 1.1.20