diff options
Diffstat (limited to 'source/tcl/tcl/tcl.SlackBuild')
-rwxr-xr-x | source/tcl/tcl/tcl.SlackBuild | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/source/tcl/tcl/tcl.SlackBuild b/source/tcl/tcl/tcl.SlackBuild index 0f553b764..b087ba72f 100755 --- a/source/tcl/tcl/tcl.SlackBuild +++ b/source/tcl/tcl/tcl.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2008, 2009, 2012, 2013 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2012, 2013, 2016 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,14 +21,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -VERSION=${VERSION:-8.6.1} +VERSION=${VERSION:-8.6.5} # See also version number 8.6 in the symlinks below...) -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) export ARCH=i486 ;; + i?86) export ARCH=i586 ;; arm*) export ARCH=arm ;; # Unless $ARCH is already set, use uname -m for all other archs: *) export ARCH=$( uname -m ) ;; @@ -42,8 +42,8 @@ TMP=${TMP:-/tmp} PKG=$TMP/package-tcl # Use -DHAVE_USLEEP=1 otherwise the bundled sqlite doesn't work well. -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686 -DHAVE_USLEEP=1" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686 -DHAVE_USLEEP=1" LIBDIRSUFFIX="" CONFARGS="--enable-64bit" elif [ "$ARCH" = "s390" ]; then @@ -90,7 +90,6 @@ CFLAGS="$SLKCFLAGS" \ --enable-threads \ --mandir=/usr/man \ --enable-man-symlinks \ - --enable-man-compression=gzip \ ${CONFARGS} \ --build=$ARCH-slackware-linux @@ -120,6 +119,13 @@ make install-private-headers DESTDIR=$PKG || exit 1 find $PKG | xargs file | grep -e "executable" -e "shared object" \ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +# Compress manual pages: +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 + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |