summaryrefslogtreecommitdiff
path: root/libraries/itcl/itcl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/itcl/itcl.SlackBuild')
-rw-r--r--libraries/itcl/itcl.SlackBuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/libraries/itcl/itcl.SlackBuild b/libraries/itcl/itcl.SlackBuild
index 418e1f3edc..acbcae9d39 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