DESCRIPTION = "pcsc-lite"
HOMEPAGE = "pcsclite.alioth.debian.org"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=a39d325b7d9cf2f07826a5154b16500c"
DEPENDS = "libusb"
SRC_URI = "https://alioth.debian.org/frs/download.php/file/3862/pcsc-lite-1.8.8.tar.bz2"
# SRC_URI could also point to a git repository, eg:
# SRC_URI = " git://host:port/path/to/repo.git;branch=win;protocol=ssh;user=username"
# any .patch files included here will be auto-magically applied, increasing the -p level until it sticks.
# SRC_URI = "file://omap_ctrl_readl.patch"
#PR = "r0" # Package Revision, Update this whenever you change the recipe.
# For tarball packages (as opposed to git / svn which include the commit in the URI)
SRC_URI[md5sum] = "069dc875a2ae2d85a2ebceac73252c0a"
SRC_URI[sha256sum] = "fe66354a7e738d3ef8b4e572c7e447b85894da9262381fbf004e8abcc12885e7"
S = "${WORKDIR}/pcsc-lite-${PV}"
inherit autotools pkgconfig
EXTRA_OECONF = " --enable-libusb --disable-libudev "
#do_configure() {
# ./configure --prefix=${D}${prefix} --libdir=${D}${libdir} --host=arm-poky-linux-gnueabi --sbindir=${D}${sbindir} --includedir=${D}${includedir}
#}
do_compile() {
make
# cd ${S}
# oe_runmake
}
#do_install() {
# DESTDIR=${D} oe_runmake install
#install -d ${D}/${sbindir}
#install -m 0755 -d ${D}/${libdir}
#install -m 0755 -d ${D}/${includedir}/PCSC
#install -m 644 ${S}/src/PCSC/* ${D}/${includedir}/PCSC
#install -m 644 ${S}/src/.libs/*so* ${D}/${libdir}
#install -m 755 ${S}/src/pcscd ${D}/${sbindir}
#}