summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorRuben Schuller <sb@rbn.im>2020-01-20 06:39:25 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-20 06:39:25 +0700
commitf85102f6f727e60f9086606654edb5df8a232fa0 (patch)
treeea2b0b7a576e0f5343273d3e9da75aa9b90f3683 /libraries
parenta1413d83c17314c6774a2f8129767e380430de22 (diff)
downloadslackbuilds-f85102f6f727e60f9086606654edb5df8a232fa0.tar.gz
libraries/tcllib: Updated for version 1.20.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/tcllib/slack-desc4
-rw-r--r--libraries/tcllib/tcllib.SlackBuild35
-rw-r--r--libraries/tcllib/tcllib.info8
3 files changed, 33 insertions, 14 deletions
diff --git a/libraries/tcllib/slack-desc b/libraries/tcllib/slack-desc
index f23d579ed6..e2a9a41572 100644
--- a/libraries/tcllib/slack-desc
+++ b/libraries/tcllib/slack-desc
@@ -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:
diff --git a/libraries/tcllib/tcllib.SlackBuild b/libraries/tcllib/tcllib.SlackBuild
index d0bb4db166..6f8ae62a89 100644
--- a/libraries/tcllib/tcllib.SlackBuild
+++ b/libraries/tcllib/tcllib.SlackBuild
@@ -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
diff --git a/libraries/tcllib/tcllib.info b/libraries/tcllib/tcllib.info
index 6fb9766e20..9b642955a0 100644
--- a/libraries/tcllib/tcllib.info
+++ b/libraries/tcllib/tcllib.info
@@ -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=""