summaryrefslogtreecommitdiff
path: root/misc/protobuf3/protobuf3.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-10-13 11:13:19 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-10-13 11:13:19 +0700
commit6b96212dea1c13a6a8b9cc2338f97bd7ab69b05d (patch)
treeca06bf3a5efb3bea95df9d5b21084dfa1d741ca6 /misc/protobuf3/protobuf3.SlackBuild
parente87c3b1acc1ce37c691fea0f68c4e7c22363acc7 (diff)
downloadslackbuilds-6b96212dea1c13a6a8b9cc2338f97bd7ab69b05d.tar.gz
misc/protobuf3: Updated for version 3.10.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/protobuf3/protobuf3.SlackBuild')
-rw-r--r--misc/protobuf3/protobuf3.SlackBuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/misc/protobuf3/protobuf3.SlackBuild b/misc/protobuf3/protobuf3.SlackBuild
index 82dc64d3b3..136585e976 100644
--- a/misc/protobuf3/protobuf3.SlackBuild
+++ b/misc/protobuf3/protobuf3.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=protobuf3
-VERSION=${VERSION:-3.9.1}
+VERSION=${VERSION:-3.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,7 +66,6 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-tar xvf $CWD/$GTEST-$GTESTVERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -75,12 +74,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Avoid downloading gtest automatically
-# It doesn't detect system-wide gtest installation
-rm -rf gmock googletest
-cp -rf ../$GTEST-$GTESTVERSION/googlemock gmock
-cp -rf ../$GTEST-$GTESTVERSION/googletest googletest
-ln -sf ../googletest gmock/gtest
+patch -p1 < $CWD/protobuf3.patch
./autogen.sh
CFLAGS="$SLKCFLAGS" \