blob: 10f724e6c8e0cc743a534cf6634e18befa74b3eb [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001SUMMARY = "PC/SC Lite smart card framework and applications"
2HOMEPAGE = "http://pcsclite.alioth.debian.org/"
3LICENSE = "BSD & GPLv3+"
4LICENSE_${PN} = "BSD"
5LICENSE_${PN}-lib = "BSD"
6LICENSE_${PN}-doc = "BSD"
7LICENSE_${PN}-dev = "BSD"
8LICENSE_${PN}-dbg = "BSD & GPLv3+"
9LICENSE_${PN}-spy = "GPLv3+"
10LICENSE_${PN}-spy-dev = "GPLv3+"
11LIC_FILES_CHKSUM = "file://COPYING;md5=f38b3d1c7ef7fc2c8b6d20cd38efdc29"
12DEPENDS = "udev"
13
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080014SRC_URI = "https://pcsclite.apdu.fr/files/${BP}.tar.bz2"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050015SRC_URI[md5sum] = "0ec103b1ef298d0c58d6ef6b00b9cf17"
16SRC_URI[sha256sum] = "6a358f61ed3b66a7f6e1f4e794a94c7be4c81b7a58ec360c33791e8d7d9bd405"
17
18
19inherit autotools systemd pkgconfig
20
21EXTRA_OECONF = " \
22 --disable-libusb \
23 --enable-libudev \
24 --enable-usbdropdir=${libdir}/pcsc/drivers \
25"
26
27S = "${WORKDIR}/pcsc-lite-${PV}"
28
29PACKAGES = "${PN} ${PN}-dbg ${PN}-dev ${PN}-lib ${PN}-doc ${PN}-spy ${PN}-spy-dev"
30
31RRECOMMENDS_${PN} = "ccid"
32
33FILES_${PN} = "${sbindir}/pcscd"
34FILES_${PN}-lib = "${libdir}/libpcsclite*${SOLIBS}"
35FILES_${PN}-dev = "${includedir} \
36 ${libdir}/pkgconfig \
37 ${libdir}/libpcsclite.la \
38 ${libdir}/libpcsclite.so"
39
40FILES_${PN}-spy = "${bindir}/pcsc-spy \
41 ${libdir}/libpcscspy*${SOLIBS}"
42FILES_${PN}-spy-dev = "${libdir}/libpcscspy.la \
43 ${libdir}/libpcscspy.so "
44
45RPROVIDES_${PN} += "${PN}-systemd"
46RREPLACES_${PN} += "${PN}-systemd"
47RCONFLICTS_${PN} += "${PN}-systemd"
48SYSTEMD_SERVICE_${PN} = "pcscd.socket"
49RDEPENDS_${PN}-spy +="python"