i2c-tools: updated package url.
This commit is contained in:
parent
6239ec2931
commit
d82a072036
@ -1,16 +1,18 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'3.0.2'
|
'3.1.0'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
git_tag="$(echo $version | sed 's/\./-/g')"
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
(
|
(
|
||||||
"http://www.lsts.pt/glued/i2c-tools-$version.tar.bz2"
|
"https://github.com/groeck/i2c-tools/archive/V$git_tag.tar.gz"
|
||||||
)
|
)
|
||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'b546345ac19db56719dea6b8199f11e0'
|
'7ed75853fe3c3dfd2d0d70d5831abfef'
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
@ -20,12 +22,12 @@ maintainer=\
|
|||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
$cmd_make CC="$cmd_target_cc"
|
$cmd_make -C "../i2c-tools-$git_tag" CC="$cmd_target_cc"
|
||||||
}
|
}
|
||||||
|
|
||||||
target_install()
|
target_install()
|
||||||
{
|
{
|
||||||
$cmd_target_strip tools/i2cdetect -o "$cfg_dir_rootfs/usr/bin/i2cdetect" &&
|
for t in i2cdetect i2cget i2cset; do
|
||||||
$cmd_target_strip tools/i2cget -o "$cfg_dir_rootfs/usr/bin/i2cget" &&
|
$cmd_target_strip "../i2c-tools-$git_tag/tools/$t" -o "$cfg_dir_rootfs/usr/bin/$t"
|
||||||
$cmd_target_strip tools/i2cset -o "$cfg_dir_rootfs/usr/bin/i2cset"
|
done
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user