aboutsummaryrefslogtreecommitdiff
path: root/development/re2c
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-01-14 21:23:04 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-18 12:25:10 +0700
commit6b47dc09596add4632fbdc03e68b9184ff8fae8b (patch)
treeb64a84038b7f612b27cfc50310e2232abcfa1fe9 /development/re2c
parent92572409034cbc04ab6642b0d595eb1bd76d11b1 (diff)
development/re2c: Updated for version 1.3.
Changed maintainer Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/re2c')
-rw-r--r--development/re2c/re2c.SlackBuild13
-rw-r--r--development/re2c/re2c.info10
2 files changed, 12 insertions, 11 deletions
diff --git a/development/re2c/re2c.SlackBuild b/development/re2c/re2c.SlackBuild
index 74c6bc6ada12e..62ed7ff0ae187 100644
--- a/development/re2c/re2c.SlackBuild
+++ b/development/re2c/re2c.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for re2c
# Copyright 2008-2015 LukenShiro, Italy
+# Copyright 2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=re2c
-VERSION=${VERSION:-0.16}
+VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,10 +42,10 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
# .html file needs to be manually installed
-DOCFILES="README CHANGELOG doc/loplas.ps"
+DOCFILES="README.md CHANGELOG LICENSE NO_WARRANTY"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -63,7 +64,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
diff --git a/development/re2c/re2c.info b/development/re2c/re2c.info
index 7a2cabcbfeb48..e539cb6a48333 100644
--- a/development/re2c/re2c.info
+++ b/development/re2c/re2c.info
@@ -1,10 +1,10 @@
PRGNAM="re2c"
-VERSION="0.16"
+VERSION="1.3"
HOMEPAGE="http://re2c.org/"
-DOWNLOAD="https://github.com/skvadrik/re2c/releases/download/0.16/re2c-0.16.tar.gz"
-MD5SUM="3bf508fabd52ed7334647d0ccb956e8d"
+DOWNLOAD="https://github.com/skvadrik/re2c/releases/download/1.3/re2c-1.3.tar.xz"
+MD5SUM="03a0579eb69ee949889a63cad91223b9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="LukenShiro"
-EMAIL="lukenshiro@ngi.it"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"