mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-02 22:36:28 +00:00
i2c-tools: update to 4.3 and fix build prefix
This commit is contained in:
parent
fdbc211372
commit
62b33ae13d
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="i2c-tools"
|
||||
PKG_VERSION="4.2"
|
||||
PKG_SHA256="37f2dabc7082d185903ff21d1f584b5dcb4dd2eb2c879bbd8d7c50ae900dacd6"
|
||||
PKG_VERSION="4.3"
|
||||
PKG_SHA256="6db1a5f2743d97900f5fdb085f66d5153322b1eff9e67c2580610aa280e05d59"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://i2c.wiki.kernel.org/index.php/I2C_Tools"
|
||||
PKG_URL="https://www.kernel.org/pub/software/utils/i2c-tools/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||
@ -37,6 +37,7 @@ makeinstall_target() {
|
||||
make EXTRA="py-smbus" \
|
||||
DESTDIR=${INSTALL} \
|
||||
PREFIX="/usr" \
|
||||
prefix="/usr" \
|
||||
PYTHON=${TOOLCHAIN}/bin/python3 \
|
||||
install
|
||||
}
|
||||
|
@ -107,9 +107,9 @@ addon() {
|
||||
# i2c-tools
|
||||
cp -P $(get_install_dir i2c-tools)/usr/sbin/{i2cdetect,i2cdump,i2cget,i2cset} ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
||||
cp -P $(get_install_dir i2c-tools)/usr/lib/${PKG_PYTHON_VERSION}/site-packages/smbus.so ${ADDON_BUILD}/${PKG_ADDON_ID}/lib
|
||||
cp -P $(get_install_dir i2c-tools)/usr/lib/libi2c.so.0.1.1 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/libi2c.so
|
||||
cp -P $(get_install_dir i2c-tools)/usr/lib/libi2c.so.0.1.1 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/libi2c.so.0
|
||||
cp -P $(get_install_dir i2c-tools)/usr/lib/libi2c.so.0.1.1 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/libi2c.so.0.1.1
|
||||
cp -P $(get_install_dir i2c-tools)/usr/lib/libi2c.so.0.1.0 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/libi2c.so
|
||||
cp -P $(get_install_dir i2c-tools)/usr/lib/libi2c.so.0.1.0 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/libi2c.so.0
|
||||
cp -P $(get_install_dir i2c-tools)/usr/lib/libi2c.so.0.1.0 ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/libi2c.so.0.1.0
|
||||
|
||||
# inotify-tools
|
||||
cp -P $(get_install_dir inotify-tools)/usr/bin/{inotifywait,inotifywatch} ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
||||
|
Loading…
Reference in New Issue
Block a user