summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-21 22:49:54 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-24 01:47:19 +0700
commit1fadfddbc9c541164c9a13fa76c2cb6e5cefd530 (patch)
treea3a1967062f5f1f65165c25434bf46c668d17586
parentd06df470d90e48b15f478c73057af79a94ec40b1 (diff)
downloadslackbuilds-1fadfddbc9c541164c9a13fa76c2cb6e5cefd530.tar.gz
slackbuilds-1fadfddbc9c541164c9a13fa76c2cb6e5cefd530.tar.xz
libraries/antlr4: Updated for version 4.10.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/antlr4/antlr4.SlackBuild11
-rw-r--r--libraries/antlr4/antlr4.info6
2 files changed, 5 insertions, 12 deletions
diff --git a/libraries/antlr4/antlr4.SlackBuild b/libraries/antlr4/antlr4.SlackBuild
index 4dcf42b710..46a7120891 100644
--- a/libraries/antlr4/antlr4.SlackBuild
+++ b/libraries/antlr4/antlr4.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for antlr4
-# Copyright 2019-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2019-2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=antlr4
-VERSION=${VERSION:-4.9.3}
+VERSION=${VERSION:-4.10.1}
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
@@ -92,10 +89,6 @@ cd build
make install DESTDIR=$PKG
cd ..
-if [ "$ARCH" = "x86_64" ]; then
- mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
-fi
-
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
diff --git a/libraries/antlr4/antlr4.info b/libraries/antlr4/antlr4.info
index b842e5467e..25403b0753 100644
--- a/libraries/antlr4/antlr4.info
+++ b/libraries/antlr4/antlr4.info
@@ -1,8 +1,8 @@
PRGNAM="antlr4"
-VERSION="4.9.3"
+VERSION="4.10.1"
HOMEPAGE="https://www.antlr.org/"
-DOWNLOAD="https://www.antlr.org/download/antlr4-cpp-runtime-4.9.3-source.zip"
-MD5SUM="eafa4fef583e12e963062882773461be"
+DOWNLOAD="https://www.antlr.org/download/antlr4-cpp-runtime-4.10.1-source.zip"
+MD5SUM="f0cf768494936ee2a0df848b02f54d84"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="utfcpp"