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