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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

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-r2.ebuild,v 1.1 2006/09/23 02:35:53 dragonheart Exp $
4
5 inherit eutils libtool
6
7 DESCRIPTION="SmartCard library and applications"
8 HOMEPAGE="http://www.opensc-project.org/opensc/"
9 SRC_URI="http://www.opensc-project.org/files/opensc/${P}.tar.gz"
10
11 LICENSE="LGPL-2.1"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
14 IUSE="pcsc-lite openct"
15
16 RDEPEND="dev-libs/openssl
17 sys-libs/zlib
18 openct? ( >=dev-libs/openct-0.5.0 )
19 pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 )"
20 DEPEND="${RDEPEND}
21 dev-util/pkgconfig"
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26
27 EPATCH_SINGLE_MSG="Applying libtool reverse deps patch ..." \
28 epatch ${ELT_PATCH_DIR}/fix-relink/1.5.0
29 }
30
31 src_compile() {
32 # --without-plugin-dir generates a /no directory
33 econf \
34 --with-plugin-dir=/usr/lib/mozilla/plugins \
35 || die
36
37 emake -j1 || die
38 }
39
40 src_install() {
41 make install DESTDIR="${D}" || die
42
43 dodoc NEWS README
44 dohtml doc/*.{html,css}
45
46 insinto /etc
47 doins etc/opensc.conf
48 }
49
50 pkg_postinst() {
51 ewarn "If you are upgrading from < opensc-0.10.0, be advised"
52 ewarn "that some functionality that was previously provided"
53 ewarn "by opensc is now packaged separately."
54 ewarn "check out sys-auth/pam_pkcs11, sys-auth/pam_p11 and"
55 ewarn "dev-libs/engine_pkcs11 since you might need them."
56 ewarn "Also in case of an upgrade please remember to run"
57 ewarn "revdep-rebuild due to ABI breakage."
58 }

  ViewVC Help
Powered by ViewVC 1.1.20