mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/protobuf-c: Updated for version 1.5.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ce8961d4fe
commit
01aea370b1
2 changed files with 6 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue