libraries/protobuf-c: Updated for version 1.5.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Marek Šrejma 2023-11-30 22:36:01 +07:00 committed by Willy Sudiarto Raharjo
parent ce8961d4fe
commit 01aea370b1
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 6 additions and 9 deletions

View file

@ -2,7 +2,7 @@
#
# Slackware build script for protobuf-c
#
# Copyright 2017-2022 Marek Šrejma <marek@modweb.de>
# Copyright 2017-2023 Marek Šrejma <marek@modweb.de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=protobuf-c
VERSION=${VERSION:-1.4.1}
VERSION=${VERSION:-1.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -91,7 +88,7 @@ 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -ar TODO LICENSE ChangeLog README.md \
cp -ar TODO LICENSE README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="protobuf-c"
VERSION="1.4.1"
VERSION="1.5.0"
HOMEPAGE="https://github.com/protobuf-c/protobuf-c"
DOWNLOAD="https://github.com/protobuf-c/protobuf-c/releases/download/v1.4.1/protobuf-c-1.4.1.tar.gz"
MD5SUM="4c17d70317ce9fc4cca9690377284659"
DOWNLOAD="https://github.com/protobuf-c/protobuf-c/releases/download/v1.5.0/protobuf-c-1.5.0.tar.gz"
MD5SUM="03030a3994b9f89ef166336048992484"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="protobuf3"