mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
1. Updated the SRC_URI to http://dl.lm-sensors.org/i2c-tools/ 2. Corrected the License to GPLv2+ as the "COPYING" file include these statements: "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version." (From OE-Core rev: d5fe5a93d310966d5389600c9e102f894772325b) Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27 lines
809 B
BlitzBasic
27 lines
809 B
BlitzBasic
SUMMARY = "Set of i2c tools for linux"
|
|
SECTION = "base"
|
|
LICENSE = "GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
|
|
|
RDEPENDS_${PN} += "perl"
|
|
|
|
SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/${BP}.tar.bz2 \
|
|
file://Module.mk \
|
|
"
|
|
SRC_URI[md5sum] = "0fdbff53ebd0b8d9249256d6c56480b1"
|
|
SRC_URI[sha256sum] = "14d4d7d60d1c12e43f2befe239c682a5c44c27682f153d4b58c1e392d2db1700"
|
|
|
|
inherit autotools-brokensep
|
|
|
|
do_compile_prepend() {
|
|
cp ${WORKDIR}/Module.mk ${S}/eepromer/
|
|
sed -i 's#/usr/local#/usr#' ${S}/Makefile
|
|
echo "include eepromer/Module.mk" >> ${S}/Makefile
|
|
}
|
|
|
|
do_install_append() {
|
|
install -d ${D}${includedir}/linux
|
|
install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h
|
|
rm -f ${D}${includedir}/linux/i2c-dev.h
|
|
}
|