summaryrefslogtreecommitdiff
path: root/recipes/pcsc-lite/pcsc-lite_1.4.102.bb
blob: 0f92a27f445d51aeef0758888ea8efe955024652 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
DESCRIPTION = "PC/SC Lite smart card framework and applications"
HOMEPAGE = "http://pcsclite.alioth.debian.org/"
LICENSE = "BSD"
PR = "r0"

DEPENDS = "hal"
RDEPENDS_${PN} = "hal"

SRC_URI = "http://alioth.debian.org/download.php/2479/pcsc-lite-${PV}.tar.bz2 \
           file://pcscd.init "

inherit autotools update-rc.d

INITSCRIPT_NAME = "pcscd"
INITSCRIPT_PARAMS = "defaults"

EXTRA_OECONF = " \
	--enable-libhal \
	--disable-libusb \
	--enable-usbdropdir=${libdir}/pcsc/drivers \
	"

do_stage() {
	autotools_stage_all
}

do_install() {
	oe_runmake DESTDIR="${D}" install
	install -d "${D}/etc/init.d"
	install -m 755 "${WORKDIR}/pcscd.init" "${D}/etc/init.d/pcscd"
}

PACKAGES =+ "libpcsclite"

FILES_libpcsclite = "${libdir}/libpcsclite.so.*"

SRC_URI[md5sum] = "b97d3a725ab93662adf09acfbc49efeb"
SRC_URI[sha256sum] = "56fc9e6324539537324b071e5b51c3388df9bfa92fb7e210b989b463122fc333"