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