This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/rules/i2c-tools/default.bash

32 lines
495 B
Bash
Raw Normal View History

2013-07-13 17:19:22 +01:00
version=\
(
'3.0.2'
)
url=\
(
2015-09-29 16:57:35 +01:00
"http://www.lsts.pt/glued/i2c-tools-$version.tar.bz2"
2013-07-13 17:19:22 +01:00
)
md5=\
(
'b546345ac19db56719dea6b8199f11e0'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
build()
{
$cmd_make CC="$cmd_target_cc"
}
target_install()
{
$cmd_target_strip tools/i2cdetect -o "$cfg_dir_rootfs/usr/bin/i2cdetect" &&
$cmd_target_strip tools/i2cget -o "$cfg_dir_rootfs/usr/bin/i2cget" &&
$cmd_target_strip tools/i2cset -o "$cfg_dir_rootfs/usr/bin/i2cset"
}