summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2019-09-13 21:21:58 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-09-15 20:22:06 +0700
commitdf6b6096708a9d304c941ba8bd95e71fdf6331c8 (patch)
treec4c0463b7882d88a9a961fe298b868ff3f2cf7eb /network
parent0cc53ca0ce5a9581b52eabcf95414dfbb617c0ef (diff)
downloadslackbuilds-df6b6096708a9d304c941ba8bd95e71fdf6331c8.tar.gz
network/glewlwyd: updated for version 2.0.0_rc1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/glewlwyd/glewlwyd.SlackBuild11
-rw-r--r--network/glewlwyd/glewlwyd.info8
2 files changed, 10 insertions, 9 deletions
diff --git a/network/glewlwyd/glewlwyd.SlackBuild b/network/glewlwyd/glewlwyd.SlackBuild
index 7b965d8505..9cd08042f4 100644
--- a/network/glewlwyd/glewlwyd.SlackBuild
+++ b/network/glewlwyd/glewlwyd.SlackBuild
@@ -21,7 +21,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=glewlwyd
-VERSION=${VERSION:-1.4.9}
+VERSION=${VERSION:-2.0.0_rc1}
+SRCVER=$(tr _ - <<< ${VERSION})
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -45,10 +46,10 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SLKCFLAGS="-O2 -fPIC -Wno-error=maybe-uninitialized"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2"
+ SLKCFLAGS="-O2 -Wno-error=stringop-truncation"
LIBDIRSUFFIX=""
fi
@@ -58,8 +59,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/network/glewlwyd/glewlwyd.info b/network/glewlwyd/glewlwyd.info
index e6ddef6f7b..27e4aebca6 100644
--- a/network/glewlwyd/glewlwyd.info
+++ b/network/glewlwyd/glewlwyd.info
@@ -1,10 +1,10 @@
PRGNAM="glewlwyd"
-VERSION="1.4.9"
+VERSION="2.0.0_rc1"
HOMEPAGE="https://github.com/babelouest/glewlwyd"
-DOWNLOAD="https://github.com/babelouest/glewlwyd/archive/v1.4.9/glewlwyd-1.4.9.tar.gz"
-MD5SUM="e941f5a92f51be42384210136c71cf48"
+DOWNLOAD="https://github.com/babelouest/glewlwyd/archive/v2.0.0-rc1/glewlwyd-2.0.0-rc1.tar.gz"
+MD5SUM="1446a813c40d427ad407bd15653274d4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libconfig libjwt hoel"
+REQUIRES="libconfig libjwt oath-toolkit libcbor hoel"
MAINTAINER="Yth - Arnaud"
EMAIL="yth@ythogtha.org"