diff options
author | Marek Šrejma <marek@modweb.de> | 2022-08-12 22:12:21 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-08-12 22:12:21 +0700 |
commit | d9ee595bfd9aec1884d7b471d58fe3694aa6e516 (patch) | |
tree | 41be00702bd7102e0a0807ab7b899d57785358bc /libraries | |
parent | 46dc1080bb50bbcf4e205d5a7c8bf10fd68bd362 (diff) | |
download | slackbuilds-d9ee595bfd9aec1884d7b471d58fe3694aa6e516.tar.gz |
libraries/protobuf-c: Updated for version 1.4.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/protobuf-c/protobuf-c.SlackBuild | 17 | ||||
-rw-r--r-- | libraries/protobuf-c/protobuf-c.info | 6 |
2 files changed, 10 insertions, 13 deletions
diff --git a/libraries/protobuf-c/protobuf-c.SlackBuild b/libraries/protobuf-c/protobuf-c.SlackBuild index 9291628f65..fdc7ae1977 100644 --- a/libraries/protobuf-c/protobuf-c.SlackBuild +++ b/libraries/protobuf-c/protobuf-c.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=protobuf-c -VERSION=${VERSION:-1.4.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.4.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,13 +50,10 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" +if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=$ARCH -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then +elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" else @@ -90,8 +87,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -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 +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 \ diff --git a/libraries/protobuf-c/protobuf-c.info b/libraries/protobuf-c/protobuf-c.info index 641aff6c48..fa1eb095bb 100644 --- a/libraries/protobuf-c/protobuf-c.info +++ b/libraries/protobuf-c/protobuf-c.info @@ -1,8 +1,8 @@ PRGNAM="protobuf-c" -VERSION="1.4.0" +VERSION="1.4.1" HOMEPAGE="https://github.com/protobuf-c/protobuf-c" -DOWNLOAD="https://github.com/protobuf-c/protobuf-c/releases/download/v1.4.0/protobuf-c-1.4.0.tar.gz" -MD5SUM="10e1103a012ce0877c32367949a2fa6e" +DOWNLOAD="https://github.com/protobuf-c/protobuf-c/releases/download/v1.4.1/protobuf-c-1.4.1.tar.gz" +MD5SUM="4c17d70317ce9fc4cca9690377284659" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="protobuf3" |