libraries/tcllib: Updated for version 1.20.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Ruben Schuller 2020-01-20 06:39:25 +07:00 committed by Willy Sudiarto Raharjo
parent a1413d83c1
commit f85102f6f7
3 changed files with 33 additions and 14 deletions

View file

@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
tcllib: tcllib (utility modules for Tcl)
tcllib: tcllib (The Tcl Library, a kitchen-sink of packages.)
tcllib:
tcllib: Tcllib is a collection of utility modules for Tcl. These modules
tcllib: provide a wide variety of functionality, from implementations of
@ -14,6 +14,6 @@ tcllib: standard data structures to implementations of common networking
tcllib: protocols. The intent is to collect commonly used function into a
tcllib: single library, which users can rely on to be available and stable.
tcllib:
tcllib: Homepage: http://tcl.activestate.com/software/tcllib/
tcllib:
tcllib:
tcllib:

View file

@ -2,16 +2,35 @@
# Slackware build script for tcllib
# Written by Paul Wisehart wise@lupulin.net
# Originally written by Paul Wisehart wise@lupulin.net
# Copyright 2020 Ruben Schuller
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tcllib
VERSION=${VERSION:-1.18}
VERSION=${VERSION:-1.20}
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
@ -22,8 +41,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"
@ -61,7 +80,6 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@ -71,8 +89,9 @@ 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/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog DESCRIPTION.txt README INSTALL.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
examples \
$PKG/usr/doc/$PRGNAM-$VERSION/examples
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="tcllib"
VERSION="1.18"
HOMEPAGE="http://www.tcl.tk/software/tcllib/"
DOWNLOAD="http://sourceforge.net/projects/tcllib/files/tcllib/1.18/tcllib-1.18.tar.gz"
MD5SUM="219361e6bdf9d9c0d79edbd1ab3e8080"
VERSION="1.20"
HOMEPAGE="http://core.tcl.tk/tcllib/"
DOWNLOAD="https://core.tcl-lang.org/tcllib/uv/tcllib-1.20.tar.gz"
MD5SUM="6997b159bd7fc2892fcd46d3e8c6aba7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""