Annotation of /branches/magellan-0_10_0/extras/pcsc-lite/pcsc-lite-1.5.3-r1.smage2
Parent Directory | Revision Log
Revision 2046 -
(hide annotations)
(download)
Fri Jun 12 20:49:42 2009 UTC (14 years, 11 months ago) by niro
Original Path: trunk/extras/pcsc-lite/pcsc-lite-1.5.3-r1.smage2
File size: 1152 byte(s)
Fri Jun 12 20:49:42 2009 UTC (14 years, 11 months ago) by niro
Original Path: trunk/extras/pcsc-lite/pcsc-lite-1.5.3-r1.smage2
File size: 1152 byte(s)
auto added: ver bump to 1.5.3-r1
1 | niro | 2046 | # $Id$ |
2 | |||
3 | PNAME="pcsc-lite" | ||
4 | PVER="1.5.3" | ||
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 'pcsc-lite-\(.*\).*' | 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 |