diff options
author | Markus Reichelt <slackbuilds@mareichelt.de> | 2018-01-01 11:06:37 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-06 06:55:18 +0700 |
commit | 63b9ba67353fad56d267e54a748a574930ecf5c1 (patch) | |
tree | f80a9c78a9f8db10b18a1b7547e37c51785cbb36 /development/tcc | |
parent | 4db5db332ce85815f2b9f2fbb092ee3796672de1 (diff) |
development/tcc: Updated for version 0.9.27.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/tcc')
-rw-r--r-- | development/tcc/tcc.SlackBuild | 30 | ||||
-rw-r--r-- | development/tcc/tcc.info | 6 |
2 files changed, 17 insertions, 19 deletions
diff --git a/development/tcc/tcc.SlackBuild b/development/tcc/tcc.SlackBuild index 659ea378a078b..50bd4af57f6eb 100644 --- a/development/tcc/tcc.SlackBuild +++ b/development/tcc/tcc.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for tiny c compiler -# Copyright (c) 2010-2013 Markus Reichelt, Stolberg (Rhld), DE +# Copyright (c) 2010-2018 Markus Reichelt, Aachen, DE # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -27,15 +27,15 @@ # in memoriam of Georg Ohler PRGNAM=tcc -VERSION=${VERSION:-0.9.26} +VERSION=${VERSION:-0.9.27} 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 ) ;; + *) ARCH=$( uname -m ) ;; esac fi @@ -44,8 +44,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -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" @@ -80,14 +80,17 @@ fi mkdir -p $PKG/usr/bin $PKG/usr/man/man1 $PKG/usr/doc $PKG/usr/include -DFLAGS=$LDFLAGS \ -CFLAGS=$SLKCFLAGS \ +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --sharedir=/usr \ --libdir=/usr/lib$LIBDIRSUFFIX \ - --sharedir=/usr $OPT + --docdir=/usr/doc/$PRGNAM-$VERSION \ + $OPT make +make -j1 test make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -96,14 +99,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -rm -f $PKG/usr/info/dir -gzip -9 $PKG/usr/info/*.info* +gzip -9 $PKG/usr/info/*.info -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION - -mv $PKG/usr/doc/tcc/*.html $PKG/usr/doc/$PRGNAM-$VERSION -rmdir $PKG/usr/doc/tcc/ -cp -a README* Changelog* COPYING TODO examples/ $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README* Changelog* COPYING RELICENSING examples/ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/development/tcc/tcc.info b/development/tcc/tcc.info index 8f30066ea88ed..a9941a1b439f8 100644 --- a/development/tcc/tcc.info +++ b/development/tcc/tcc.info @@ -1,8 +1,8 @@ PRGNAM="tcc" -VERSION="0.9.26" +VERSION="0.9.27" HOMEPAGE="http://www.tinycc.org/" -DOWNLOAD="http://download.savannah.nongnu.org/releases/tinycc/tcc-0.9.26.tar.bz2" -MD5SUM="5fb28e4abc830c46a7f54c1f637fb25d" +DOWNLOAD="http://download.savannah.nongnu.org/releases/tinycc/tcc-0.9.27.tar.bz2" +MD5SUM="9cdb185555da76db90287db351ca40b8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |