aboutsummaryrefslogtreecommitdiff
path: root/system/i2c-tools
diff options
context:
space:
mode:
Diffstat (limited to 'system/i2c-tools')
-rw-r--r--system/i2c-tools/i2c-tools.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/i2c-tools/i2c-tools.SlackBuild b/system/i2c-tools/i2c-tools.SlackBuild
index a14c9608c844..37ab0c622b08 100644
--- a/system/i2c-tools/i2c-tools.SlackBuild
+++ b/system/i2c-tools/i2c-tools.SlackBuild
@@ -83,8 +83,11 @@ sed -i \
-e "s|BUILD_STATIC_LIB\ ?=\ 1|BUILD_STATIC_LIB ?= 0|" \
Makefile
-make
+make -j1
make install DESTDIR=$PKG
+( cd py-smbus
+ python setup.py install --root=$PKG
+ if $(python3 -c 'import sys' 2>/dev/null); then python3 setup.py install --root=$PKG ; fi)
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true