diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-04 21:10:16 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-06 06:41:44 +0700 |
commit | 6d5ad6150b93746d631a2d0a133d18ab1f88d39d (patch) | |
tree | 13849123a145472a4364a36ce48d4ab09ca8a327 /libraries | |
parent | 9ff84659e6e7d7b3934418846b12f556b3184f46 (diff) | |
download | slackbuilds-6d5ad6150b93746d631a2d0a133d18ab1f88d39d.tar.gz |
libraries/SlowAES: Add python3 support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/SlowAES/SlowAES.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/SlowAES/SlowAES.SlackBuild b/libraries/SlowAES/SlowAES.SlackBuild index 4bf3baae56..3fc341db7a 100644 --- a/libraries/SlowAES/SlowAES.SlackBuild +++ b/libraries/SlowAES/SlowAES.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for SlowAES -# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2014-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -72,6 +72,10 @@ find -L . \ 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 |