summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2021-04-23 08:11:46 +0200
committer Robby Workman2021-04-24 06:26:22 +0200
commitf0b73c0d5638a02cac8fd3fcb3923f277fc64340 (patch)
tree09e5059aeb6153cdf25580f014e45afe9aca75e5 /misc
parentebaca630c957976dcc5fc2a180569861e82a604c (diff)
downloadslackbuilds-f0b73c0d5638a02cac8fd3fcb3923f277fc64340.tar.gz
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.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 40c0c6270d..d853990eed 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 f6b32b675c..8d0c013a71 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=""