summaryrefslogtreecommitdiff
path: root/development/re2c/re2c.SlackBuild
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/re2c.SlackBuild
parent92572409034cbc04ab6642b0d595eb1bd76d11b1 (diff)
downloadslackbuilds-6b47dc09596add4632fbdc03e68b9184ff8fae8b.tar.gz
development/re2c: Updated for version 1.3.
Changed maintainer Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/re2c/re2c.SlackBuild')
-rw-r--r--development/re2c/re2c.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/development/re2c/re2c.SlackBuild b/development/re2c/re2c.SlackBuild
index 74c6bc6ada..62ed7ff0ae 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 . \