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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Wed Oct 13 12:56:24 2004 UTC (9 years, 6 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
64bit lovin !

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

  ViewVC Help
Powered by ViewVC 1.1.20