summaryrefslogtreecommitdiffstats
path: root/libraries/tcllib
diff options
context:
space:
mode:
author Robby Workman2012-09-25 20:12:37 +0200
committer Robby Workman2012-09-26 07:00:12 +0200
commitf9976a5efc8b9f155bd573a0b22d58b84399ea96 (patch)
tree44c7edffe95474a43dc32a88f7a5cb408e5f82cb /libraries/tcllib
parent32f1e178d6c327765d2ddc956bff9d4a36c68729 (diff)
downloadslackbuilds-f9976a5efc8b9f155bd573a0b22d58b84399ea96.tar.gz
libraries/tcllib: Updated for version 1.14.
I verified that memchan, tklib, and tkimg all build with this. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/tcllib')
-rw-r--r--libraries/tcllib/tcllib.SlackBuild12
-rw-r--r--libraries/tcllib/tcllib.info6
2 files changed, 8 insertions, 10 deletions
diff --git a/libraries/tcllib/tcllib.SlackBuild b/libraries/tcllib/tcllib.SlackBuild
index 3b3ec5840e..842eaaccf4 100644
--- a/libraries/tcllib/tcllib.SlackBuild
+++ b/libraries/tcllib/tcllib.SlackBuild
@@ -5,7 +5,7 @@
# Written by Paul Wisehart wise@lupulin.net
PRGNAM=tcllib
-VERSION=1.10
+VERSION=${VERSION:-1.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,7 +53,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -61,7 +60,8 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/man
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -69,10 +69,8 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man || exit 1
- 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 {} \;
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog DESCRIPTION.txt README INSTALL.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/libraries/tcllib/tcllib.info b/libraries/tcllib/tcllib.info
index 55cd09ced8..3b52e40b40 100644
--- a/libraries/tcllib/tcllib.info
+++ b/libraries/tcllib/tcllib.info
@@ -1,8 +1,8 @@
PRGNAM="tcllib"
-VERSION="1.10"
+VERSION="1.14"
HOMEPAGE="http://www.tcl.tk/software/tcllib/"
-DOWNLOAD="http://downloads.sourceforge.net/tcllib/tcllib-1.10.tar.gz"
-MD5SUM="5dd5e5db04a1c39b7e2d25c0614f5dcb"
+DOWNLOAD="http://downloads.sourceforge.net/tcllib/tcllib-1.14.tar.gz"
+MD5SUM="55bac9afce54c3328f368918cc2d7a4b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""