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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jun 4 14:53:48 2006 UTC (8 years, 2 months ago) by kaiowas
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
updated HOMEPAGE and LICENSE, added default config and html docs. fix for #134754 reported by Andreas Jellinghaus
(Portage version: 2.1_rc4-r1)
 (Signed Manifest commit)

1 # Copyright 1999-2006 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.0.ebuild,v 1.1 2006/05/24 02:51:19 vanquirius Exp $
4
5 inherit eutils libtool
6
7 DESCRIPTION="SmartCard library and applications"
8 HOMEPAGE="http://www.opensc.org/"
9 SRC_URI="http://www.opensc-project.org/files/opensc/${P}.tar.gz"
10
11 LICENSE="LGPL-2"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
14 IUSE="ldap pcsc-lite X"
15 #pam
16
17 RDEPEND="X? ( || ( ( >=x11-libs/libX11-1.0.0 >=x11-libs/libXt-1.0.0 ) virtual/x11 ) )
18 ldap? ( net-nds/openldap )
19 pcsc-lite? ( sys-apps/pcsc-lite )
20 !pcsc-lite? ( >=dev-libs/openct-0.5.0 )"
21
22 #PDEPEND="pam? ( dev-libs/pam_pkcs11 )"
23
24 src_unpack() {
25 unpack ${A}
26 cd "${S}"
27 use X || echo 'all:'$'\n''install:' > src/signer/Makefile.in
28 EPATCH_SINGLE_MSG="Applying libtool reverse deps patch ..." \
29 epatch ${ELT_PATCH_DIR}/fix-relink/1.5.0
30 }
31
32 src_compile() {
33 local mycard=""
34 use pcsc-lite \
35 && mycard="--with-pcsclite" \
36 || mycard="--with-openct=/usr"
37 # --without-plugin-dir generates a /no directory
38 econf \
39 --disable-usbtoken \
40 --with-plugin-dir=/usr/lib/mozilla/plugins \
41 $(use_enable ldap) \
42 ${mycard} \
43 || die
44
45 emake -j1 || die
46 }
47
48 src_install() {
49 make install DESTDIR="${D}" || die
50
51 dodoc NEWS README
52 dohtml docs/opensc.{html,css}
53 }
54
55 pkg_postinst() {
56 ewarn "If you are upgrading, please remember to run"
57 ewarn "revdep-rebuild due to ABI breakage."
58 }

  ViewVC Help
Powered by ViewVC 1.1.20