#phidgets.bb
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=bb3ca60759f3202f1ae42e3519cd06bc"
DESCRIPTION = "Phidgets Linux Library"
SECTION = "base"
PRIORITY = "optional"
PR = "r1"
# the link for the tarball is http://www.phidgets.com/docs/OS_-_Linux#Quick_Downloads
# see below for the current (as of 8/16/2013) file which I downloaded.
SRC_URI += "file://libphidget_2.1.8.20130723.tar.gz"
S = "${WORKDIR}/phidgets/"
do_configure () {
echo "No configuration needed for Phidgets library"
}
do_compile () {
cd ${S}phidget21
make
}
do_install () {
install -d ${D}${libdir}/
install -m 755 ${S}phidget21/libphidget21.so ${D}${libdir}/
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Output snippet
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTE: Executing RunQueue Tasks
WARNING: /media/toshiba-usb3/work/test/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/phidgets-1.0-r1/phidgets/COPYING could not be copied for some reason. It may not exist. WARN for now.
ERROR: Function failed: phidgets: LIC_FILES_CHKSUM points to an invalid file: /media/toshiba-usb3/work/test/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/phidgets-1.0-r1/phidgets/COPYING
ERROR: Logfile of failure stored in: /media/toshiba-usb3/work/test/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/phidgets-1.0-r1/temp/log.do_configure.16892
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| No configuration needed for Phidgets library
| DEBUG: Shell function do_configure finished
| DEBUG: Executing python function do_qa_configure
| NOTE: Checking autotools environment for common misconfiguration
| DEBUG: Python function do_qa_configure finished
| ERROR: Function failed: phidgets: LIC_FILES_CHKSUM points to an invalid file: /media/toshiba-usb3/work/test/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/phidgets-1.0-r1/phidgets/COPYING
ERROR: Task 5 (/media/toshiba-usb3/work/test/setup-scripts/sources/meta-epic/recipes-epic/phidgets/phidgets.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 982 tasks of which 980 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
/media/toshiba-usb3/work/test/setup-scripts/sources/meta-epic/recipes-epic/phidgets/phidgets.bb, do_configure
Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.