Magellan Linux

Contents of /branches/magellan-next/extras/pcsc-lite/pcsc-lite-1.5.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8738 - (show annotations) (download)
Thu Jul 28 09:22:18 2011 UTC (12 years, 9 months ago) by niro
File size: 1151 byte(s)
imported
1 # $Id$
2
3 PNAME="pcsc-lite"
4 PVER="1.5.5"
5 PBUILD="r1"
6
7 PCATEGORIE="sys-apps"
8 STATE="unstable"
9
10 DESCRIPTION="Middleware to access a smart card using SCard API (PC/SC)."
11 HOMEPAGE="http://pcsclite.alioth.debian.org/"
12
13 DEPEND=">= dev-libs/libusb-0.1.12"
14 SDEPEND=">= dev-util/pkgconfig-0.23"
15
16 SRCFILE="${PNAME}-${PVER}.tar.bz2"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18
19 sminclude mbuild mtools
20
21 SRC_URI=(
22 https://alioth.debian.org/frs/download.php/3017/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/pcscd.rc
25 mirror://${PNAME}/pcscd.confd
26 )
27
28 UP2DATE="updatecmd 'https://alioth.debian.org/frs/?group_id=30105' | grep '${PNAME}-\(.*\).*' | lasttarball"
29
30 src_compile()
31 {
32 cd ${SRCDIR}
33
34 mconfigure \
35 --docdir=/usr/share/doc/${PNAME}-${PVER} \
36 --enable-usbdropdir=/usr/$(mlibdir)/readers/usb \
37 --enable-libusb \
38 --disable-libhal \
39 || die
40
41 mmake || die
42 }
43
44 src_install()
45 {
46 cd ${SRCDIR}
47 mmake DESTDIR=${BINDIR} install || die
48
49 minstallrc pcscd.rc pcscd || die
50 minstallconf pcscd.confd pcscd || die
51
52 minstalldocs AUTHORS DRIVERS HELP README SECURITY ChangeLog
53 }
54
55 postinstall()
56 {
57 mstartservice pcscd
58 }
59
60 postremove()
61 {
62 mstopservice sshd
63 }

Properties

Name Value
svn:keywords Id