libraries/antlr4: Updated for version 4.10.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2022-04-21 22:49:54 +07:00
parent d06df470d9
commit 1fadfddbc9
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 5 additions and 12 deletions

View File

@ -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

View File

@ -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"