diff options
author | Giuseppe Scalzi <giuseppe@osgate.org> | 2020-05-22 10:22:17 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-05-23 09:31:56 +0700 |
commit | 274fdfc959bb40c5ccc740ecba1c6be39d4cac2e (patch) | |
tree | 57cb1ed307cd516117a1b7f6bd1effdbd216caaf /python/PyAudio/PyAudio.SlackBuild | |
parent | 8f02d38e5a9a8bcab66d0a6f9c49c80f2a585d93 (diff) | |
download | slackbuilds-274fdfc959bb40c5ccc740ecba1c6be39d4cac2e.tar.gz |
python/PyAudio: Updated for version 0.2.11.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/PyAudio/PyAudio.SlackBuild')
-rw-r--r-- | python/PyAudio/PyAudio.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/python/PyAudio/PyAudio.SlackBuild b/python/PyAudio/PyAudio.SlackBuild index d7452373a4..e99a32eae4 100644 --- a/python/PyAudio/PyAudio.SlackBuild +++ b/python/PyAudio/PyAudio.SlackBuild @@ -5,7 +5,7 @@ # Written by Giuseppe Scalzi <giuseppe[at]osgate[dot]org> PRGNAM=PyAudio -VERSION=${VERSION:-0.2.4} +VERSION=${VERSION:-0.2.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,7 +42,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/`echo $PRGNAM-$VERSION | tr "[:upper:]" "[:lower:]"`.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +#tar xvf $CWD/`echo $PRGNAM-$VERSION | tr "[:upper:]" "[:lower:]"`.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -53,6 +54,8 @@ find -L . \ CFLAGS="$SLKCFLAGS" \ python setup.py install --root=$PKG +#add python3 support +python3 setup.py install --root=$PKG 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 |