diff --git a/packages/addons/addon-depends/system-tools-depends/i2c-tools/package.mk b/packages/addons/addon-depends/system-tools-depends/i2c-tools/package.mk index 51e0d72d08..ced87ff009 100644 --- a/packages/addons/addon-depends/system-tools-depends/i2c-tools/package.mk +++ b/packages/addons/addon-depends/system-tools-depends/i2c-tools/package.mk @@ -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 } diff --git a/packages/addons/tools/system-tools/package.mk b/packages/addons/tools/system-tools/package.mk index 97fd8b4fb0..0c5f943f97 100644 --- a/packages/addons/tools/system-tools/package.mk +++ b/packages/addons/tools/system-tools/package.mk @@ -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