diff options
author | LukenShiro <lukenshiro@ngi.it> | 2013-10-27 17:05:15 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-10-27 23:39:04 -0500 |
commit | 7c75b558a284e35f91f3e5be508091bf8c556da9 (patch) | |
tree | 9c89ee09d2ee25cfa99b1cec2c154a7aab06a3a9 /development/re2c | |
parent | e68d48075fec596025d18c7b5028cc7076b0f514 (diff) |
development/re2c: Updated for version 0.13.6.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/re2c')
-rw-r--r-- | development/re2c/re2c.SlackBuild | 25 | ||||
-rw-r--r-- | development/re2c/re2c.info | 6 | ||||
-rw-r--r-- | development/re2c/slack-desc | 20 |
3 files changed, 25 insertions, 26 deletions
diff --git a/development/re2c/re2c.SlackBuild b/development/re2c/re2c.SlackBuild index 4306f6b09b82..7b80b233ab3c 100644 --- a/development/re2c/re2c.SlackBuild +++ b/development/re2c/re2c.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for re2c -# Copyright 2008-2009 LukenShiro <lukenshiro@ngi.it> +# Copyright 2008-2013 LukenShiro, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,16 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=re2c -VERSION=${VERSION:-0.13.5} -BUILD=${BUILD:-3} +VERSION=${VERSION:-0.13.6} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -59,7 +57,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -68,8 +66,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find . \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) -exec chmod 755 {} \; -find . \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; # --htmldir= is ignored CFLAGS="$SLKCFLAGS" \ @@ -82,15 +83,13 @@ CXXFLAGS="$SLKCFLAGS" \ make # in order to regenerate scanner.cc file -rm -rf scanner.cc +rm -f scanner.cc make install-strip DESTDIR=$PKG # compress man pages -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done # remove windows-only files rm -rf lessons/001_upn_calculator/windows/ diff --git a/development/re2c/re2c.info b/development/re2c/re2c.info index 448ca6ba1e03..8cc1f2842908 100644 --- a/development/re2c/re2c.info +++ b/development/re2c/re2c.info @@ -1,8 +1,8 @@ PRGNAM="re2c" -VERSION="0.13.5" +VERSION="0.13.6" HOMEPAGE="http://re2c.org/" -DOWNLOAD="http://downloads.sourceforge.net/re2c/re2c-0.13.5.tar.gz" -MD5SUM="4a97d8f77ed6d2c76c8bd840a43f5633" +DOWNLOAD="http://downloads.sourceforge.net/re2c/re2c-0.13.6.tar.gz" +MD5SUM="8927c3f65d445c40f2e6213269dcef2d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/development/re2c/slack-desc b/development/re2c/slack-desc index 757e4300830b..75066c2841f9 100644 --- a/development/re2c/slack-desc +++ b/development/re2c/slack-desc @@ -1,19 +1,19 @@ # HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| re2c: re2c (regular expressions to C/C++ conversion tool) re2c: re2c: It is a tool for writing very fast and very flexible scanners. Unlike -re2c: any other such tool, re2c focuses on generating high efficient code for -re2c: regular expression matching. As a result this allows a much broader -re2c: range of use than any traditional lexer offers. And last but not least -re2c: re2c generates warning free code that is equal to hand-written code in -re2c: terms of size, speed and quality. +re2c: any other such tool, re2c focuses on generating high efficient code +re2c: for regular expression matching. As a result this allows a much +re2c: broader range of use than any traditional lexer offers. And last but +re2c: not least re2c generates warning free code that is equal to +re2c: hand-written code in terms of size, speed and quality re2c: re2c: Homepage: http://re2c.org re2c: |