aboutsummaryrefslogtreecommitdiff
path: root/libraries/itcl
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/itcl')
-rw-r--r--libraries/itcl/itcl.SlackBuild18
-rw-r--r--libraries/itcl/itcl.info10
2 files changed, 13 insertions, 15 deletions
diff --git a/libraries/itcl/itcl.SlackBuild b/libraries/itcl/itcl.SlackBuild
index 418e1f3edc1e..acbcae9d396d 100644
--- a/libraries/itcl/itcl.SlackBuild
+++ b/libraries/itcl/itcl.SlackBuild
@@ -5,11 +5,11 @@
# Hereby dedicated to the public domain.
PRGNAM=itcl
-VERSION=${VERSION:-3.4b1}
+VERSION=${VERSION:-3.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-TCL=${TCL:-8.5.9}
+TCL=${TCL:-8.5.11}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -45,13 +45,11 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION /tmp/tcl$TCL
tar xvf $CWD/$PRGNAM$VERSION.tar.gz
+mv $PRGNAM$VERSION $PRGNAM-$VERSION
# Since itcl expects tcl to be in /tmp (Slackware default in set by
# /usr/lib${LIBDIRSUFFIX}/tclConfig.sh (TCL_SRC_DIR).
tar -C /tmp -xvf $CWD/tcl$TCL-src.tar.xz
-# itcl unpacks from the tarball into "itcl3.4", rename it to what the rest
-# of the build script expects
-mv ${PRGNAM}3.4 $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -78,18 +76,18 @@ 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
+# There's nothing in $PKG/usr/bin
+rmdir $PKG/usr/bin
+
# Add manpages that are part of the source tarball, but that upstream
# doesn't include for some reason.
mkdir -p $PKG/usr/man/man3
for manpage in $TMP/$PRGNAM-$VERSION/doc/*.3 ; do
- cat $manpage > $PKG/usr/man/man3/$( basename $manpage ); done
+ gzip -9 -c $manpage > $PKG/usr/man/man3/$( basename $manpage ).gz; done
-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 \
- CHANGES ChangeLog INCOMPATIBLE README TODO license.terms \
+ license.terms \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/itcl/itcl.info b/libraries/itcl/itcl.info
index d495b3c9194c..966a2e7fcb35 100644
--- a/libraries/itcl/itcl.info
+++ b/libraries/itcl/itcl.info
@@ -1,10 +1,10 @@
PRGNAM="itcl"
-VERSION="3.4b1"
+VERSION="3.4.1"
HOMEPAGE="http://incrtcl.sourceforge.net/itcl/"
-DOWNLOAD="http://sourceforge.net/projects/incrtcl/files/%5BIncr%20Tcl_Tk%5D-source/3.4/itcl3.4b1.tar.gz \
- http://slackware.osuosl.org/slackware-13.37/source/tcl/tcl/tcl8.5.9-src.tar.xz"
-MD5SUM="e4c97750c08ab47e960b91911fdd0132 \
- c1e4eea4afdd9a8f8888d5b7c481122d"
+DOWNLOAD="http://downloads.sourceforge.net/incrtcl/itcl3.4.1.tar.gz \
+ http://ponce.cc/slackware/sources/repo/tcl8.5.11-src.tar.xz"
+MD5SUM="e7c98e0f69df1a675073ddd3344f0b7f \
+ 304a8ecc61d5db9e41f3653161997712"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""