DESCRIPTION = "libhid"
HOMEPAGE = "http://libhid.alioth.debian.org/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
DEPENDS = "libusb"
#SRC_URI = "http://alioth.debian.org/frs/download.php/file/1958/libhid-${PV}.tar.bz2"
SRC_URI = "http://alioth.debian.org/frs/download.php/file/1958/libhid-0.2.16.tar.gz"
# 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] = "f2a427a6d6b98a5db8d17e2777173af7"
SRC_URI[sha256sum] = "f6809ab3b9c907cbb05ceba9ee6ca23a705f85fd71588518e14b3a7d9f2550e5"
S = "${WORKDIR}/libhid-${PV}"
do_configure () {
./configure --without-doxygen --enable-swig --without-distcc --build=i686-linux --host=arm-poky-linux-gnueabi --target=arm-poky-linux-gnueabi
}
do_compile () {
make
}
do_install () {
DESTDIR=${D} oe_runmake install
}