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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Nov 10 17:55:24 2007 UTC (7 years ago) by alonbl
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Cleanup
(Portage version: 2.1.3.19)

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

  ViewVC Help
Powered by ViewVC 1.1.20