Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/pcsc-lite: ChangeLog pcsc-lite-1.6.1.ebuild
Date: Mon, 28 Jun 2010 23:39:03
Message-Id: 20100628233901.304462C621@corvid.gentoo.org
1 arfrever 10/06/28 23:39:00
2
3 Modified: ChangeLog
4 Added: pcsc-lite-1.6.1.ebuild
5 Log:
6 Version bump (bug #325863).
7 (Portage version: HEAD/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.82 sys-apps/pcsc-lite/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?rev=1.82&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?rev=1.82&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?r1=1.81&r2=1.82
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v
19 retrieving revision 1.81
20 retrieving revision 1.82
21 diff -u -r1.81 -r1.82
22 --- ChangeLog 5 Oct 2009 16:02:08 -0000 1.81
23 +++ ChangeLog 28 Jun 2010 23:39:00 -0000 1.82
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-apps/pcsc-lite
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.81 2009/10/05 16:02:08 armin76 Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.82 2010/06/28 23:39:00 arfrever Exp $
30 +
31 +*pcsc-lite-1.6.1 (28 Jun 2010)
32 +
33 + 28 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + -pcsc-lite-1.5.3.ebuild, -pcsc-lite-1.5.4.ebuild, +pcsc-lite-1.6.1.ebuild:
35 + Version bump (bug #325863).
36
37 05 Oct 2009; Raúl Porcel <armin76@g.o> pcsc-lite-1.5.5.ebuild:
38 arm/ia64/m68k/s390/sh/sparc stable wrt #283378
39
40
41
42 1.1 sys-apps/pcsc-lite/pcsc-lite-1.6.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.6.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.6.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pcsc-lite-1.6.1.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.6.1.ebuild,v 1.1 2010/06/28 23:39:00 arfrever Exp $
52
53 EAPI="3"
54
55 inherit multilib
56
57 DESCRIPTION="PC/SC Architecture smartcard middleware library"
58 HOMEPAGE="http://www.linuxnet.com/middle.html"
59
60 if [[ "${PV}" = "9999" ]]; then
61 inherit autotools subversion
62 ESVN_REPO_URI="svn://svn.debian.org/pcsclite/trunk"
63 S="${WORKDIR}/trunk"
64 else
65 STUPID_NUM="3298"
66 MY_P="${PN}-${PV/_/-}"
67 SRC_URI="http://alioth.debian.org/download.php/${STUPID_NUM}/${MY_P}.tar.bz2"
68 S="${WORKDIR}/${MY_P}"
69 fi
70
71 LICENSE="as-is"
72 SLOT="0"
73 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
74 IUSE="hal static usb"
75
76 RDEPEND="usb? ( virtual/libusb:0 )
77 hal? ( sys-apps/hal )"
78 DEPEND="${RDEPEND}
79 dev-util/pkgconfig"
80
81 pkg_setup() {
82 if use hal && use usb; then
83 ewarn "The usb and hal USE flags cannot be enabled at the same time"
84 ewarn "Disabling the effect of USE=usb"
85 fi
86 }
87
88 if [[ "${PV}" == "9999" ]]; then
89 src_prepare() {
90 S="${WORKDIR}/trunk/PCSC"
91 cd "${S}"
92 AT_M4DIR="m4" eautoreconf
93 }
94 fi
95
96 src_configure() {
97 local myconf
98 if use hal; then
99 myconf="--enable-libhal --disable-libusb"
100 else
101 myconf="--disable-libhal $(use_enable usb libusb)"
102 fi
103
104 econf \
105 --docdir="/usr/share/doc/${PF}" \
106 --enable-usbdropdir="/usr/$(get_libdir)/readers/usb" \
107 ${myconf} \
108 $(use_enable static)
109 }
110
111 src_install() {
112 emake DESTDIR="${D}" install || die "emake install failed"
113 prepalldocs
114
115 dodoc AUTHORS DRIVERS HELP README SECURITY ChangeLog
116
117 newinitd "${FILESDIR}/pcscd-init" pcscd
118 newconfd "${FILESDIR}/pcscd-confd" pcscd
119 }