summaryrefslogtreecommitdiff
path: root/recipes/i2c-tools/i2c-tools_3.0.2.bb
blob: 9c5efcccb8329b8dddff7b9534687abcef4570ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DESCRIPTION = "Set of i2c tools for linux"
SECTION = "base"
LICENSE = "GPLv2"

PR = "r2"

SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \
           file://Module.mk \
          "

inherit autotools

do_compile_prepend() {
        cp ${WORKDIR}/Module.mk ${S}/eepromer/
        sed -i 's#/usr/local#/usr#' Makefile
        sed -i 's#CC\t:= gcc#CC\t:= ${CC}#' Makefile
        echo "include eepromer/Module.mk" >> Makefile
}

SRC_URI[md5sum] = "b546345ac19db56719dea6b8199f11e0"
SRC_URI[sha256sum] = "0b4d6455a30a3264a60b4d3be55855d996d52ea4f162a2f04ffff378e24f98a2"