network/glewlwyd: Updated for version 2.7.6.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Arn0 2023-11-17 10:26:26 +01:00 committed by Willy Sudiarto Raharjo
parent 6c379ce3d0
commit 6ff36caf08
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 9 additions and 4 deletions

View file

@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=glewlwyd PRGNAM=glewlwyd
VERSION=${VERSION:-2.7.5} VERSION=${VERSION:-2.7.6}
SRCVER=$(tr _ - <<< ${VERSION}) SRCVER=$(tr _ - <<< ${VERSION})
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -58,6 +58,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC -Wno-error=maybe-uninitialized" SLKCFLAGS="-O2 -fPIC -Wno-error=maybe-uninitialized"
LIBDIRSUFFIX="64" LIBDIRSUFFIX="64"
elif [ "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else else
SLKCFLAGS="-O2 -Wno-error=maybe-uninitialized" SLKCFLAGS="-O2 -Wno-error=maybe-uninitialized"
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
@ -94,6 +97,8 @@ cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ 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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/man/man8
install -m 644 docs/glewlwyd.8 $PKG/usr/man/man8
find $PKG/usr/man -type f -exec gzip -9 {} \; find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done

View file

@ -1,8 +1,8 @@
PRGNAM="glewlwyd" PRGNAM="glewlwyd"
VERSION="2.7.5" VERSION="2.7.6"
HOMEPAGE="https://github.com/babelouest/glewlwyd" HOMEPAGE="https://github.com/babelouest/glewlwyd"
DOWNLOAD="https://github.com/babelouest/glewlwyd/archive/v2.7.5/glewlwyd-2.7.5.tar.gz" DOWNLOAD="https://github.com/babelouest/glewlwyd/archive/v2.7.6/glewlwyd-2.7.6.tar.gz"
MD5SUM="fd1644bcb682d90019a0cae4cf6c2dd4" MD5SUM="43d3dab8ec1f0a4213f8810eef832225"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="libconfig oath-toolkit libcbor hoel iddawc" REQUIRES="libconfig oath-toolkit libcbor hoel iddawc"