9 |
DESCRIPTION="Middleware to access a smart card using SCard API (PC/SC)." |
DESCRIPTION="Middleware to access a smart card using SCard API (PC/SC)." |
10 |
HOMEPAGE="http://pcsclite.alioth.debian.org/" |
HOMEPAGE="http://pcsclite.alioth.debian.org/" |
11 |
|
|
12 |
DEPEND=">= dev-libs/libusb-1" |
DEPEND=">= sys-fs/udev-171" |
13 |
SDEPEND=">= dev-util/pkgconfig-0.25" |
SDEPEND=">= dev-util/pkgconfig-0.25" |
14 |
|
|
15 |
SRCFILE="${PNAME}-${PVER}.tar.bz2" |
SRCFILE="${PNAME}-${PVER}.tar.bz2" |
21 |
RC_REV=1.2 |
RC_REV=1.2 |
22 |
|
|
23 |
SRC_URI=( |
SRC_URI=( |
24 |
https://alioth.debian.org/frs/download.php/3017/${SRCFILE} |
https://alioth.debian.org/frs/download.php/3598/${SRCFILE} |
25 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
26 |
mirror://${PNAME}/${PNAME}-${PVER}-systemd-socket-activation.patch |
mirror://${PNAME}/${PNAME}-${PVER}-systemd-socket-activation.patch |
27 |
mirror://${PNAME}/${PNAME}-${PVER}-systemd-disable-autostart.patch |
mirror://${PNAME}/${PNAME}-${PVER}-systemd-disable-autostart.patch |
35 |
src_prepare() |
src_prepare() |
36 |
{ |
{ |
37 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
38 |
cd ${SRCFILE} |
cd ${SRCDIR} |
39 |
|
|
40 |
# add systemd support |
# add systemd support |
41 |
mpatch ${PNAME}-${PVER}-systemd-socket-activation.patch || die |
mpatch ${PNAME}-${PVER}-systemd-socket-activation.patch || die |
55 |
mconfigure \ |
mconfigure \ |
56 |
--docdir=/usr/share/doc/${PNAME}-${PVER} \ |
--docdir=/usr/share/doc/${PNAME}-${PVER} \ |
57 |
--enable-usbdropdir=/usr/$(mlibdir)/readers/usb \ |
--enable-usbdropdir=/usr/$(mlibdir)/readers/usb \ |
58 |
--enable-libusb \ |
--enable-libudev \ |
59 |
--disable-libhal \ |
--disable-libusb \ |
60 |
${myconf} \ |
${myconf} \ |
61 |
|| die |
|| die |
62 |
|
|