aboutsummaryrefslogtreecommitdiff
path: root/misc/protobuf3
diff options
context:
space:
mode:
Diffstat (limited to 'misc/protobuf3')
-rw-r--r--misc/protobuf3/protobuf3.SlackBuild14
-rw-r--r--misc/protobuf3/protobuf3.info6
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=""