diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-04-23 13:11:46 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-23 23:26:22 -0500 |
commit | f0b73c0d5638a02cac8fd3fcb3923f277fc64340 (patch) | |
tree | 09e5059aeb6153cdf25580f014e45afe9aca75e5 /misc | |
parent | ebaca630c957976dcc5fc2a180569861e82a604c (diff) |
misc/protobuf3: Updated for version 3.15.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/protobuf3/protobuf3.SlackBuild | 14 | ||||
-rw-r--r-- | misc/protobuf3/protobuf3.info | 6 |
2 files changed, 9 insertions, 11 deletions
diff --git a/misc/protobuf3/protobuf3.SlackBuild b/misc/protobuf3/protobuf3.SlackBuild index 40c0c6270dfc8..d853990eedea3 100644 --- a/misc/protobuf3/protobuf3.SlackBuild +++ b/misc/protobuf3/protobuf3.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for protobuf3 -# Copyright 2017-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2017-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=protobuf3 -VERSION=${VERSION:-3.14.0} +VERSION=${VERSION:-3.15.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -93,12 +93,10 @@ make make install DESTDIR=$PKG # Install the python bindings -cd python ; python setup.py install --root=$PKG ; cd .. - -# Add Python3 support -if $(python3 -c 'import sys' 2>/dev/null); then - cd python ; python3 setup.py install --root=$PKG ; cd .. -fi +cd python +python setup.py install --root=$PKG +python3 setup.py install --root=$PKG +cd .. 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 diff --git a/misc/protobuf3/protobuf3.info b/misc/protobuf3/protobuf3.info index f6b32b675c066..8d0c013a71397 100644 --- a/misc/protobuf3/protobuf3.info +++ b/misc/protobuf3/protobuf3.info @@ -1,8 +1,8 @@ PRGNAM="protobuf3" -VERSION="3.14.0" +VERSION="3.15.8" HOMEPAGE="https://github.com/google/protobuf" -DOWNLOAD="https://github.com/google/protobuf/archive/v3.14.0/protobuf-3.14.0.tar.gz" -MD5SUM="0c9d2a96f3656ba7ef3b23b533fb6170" +DOWNLOAD="https://github.com/google/protobuf/archive/v3.15.8/protobuf-3.15.8.tar.gz" +MD5SUM="cd4665ea38556638ade6739df861ebe8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |