aboutsummaryrefslogtreecommitdiff
path: root/libraries/tcllib/tcllib.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-09-25 13:12:37 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-26 00:00:12 -0500
commitf9976a5efc8b9f155bd573a0b22d58b84399ea96 (patch)
tree44c7edffe95474a43dc32a88f7a5cb408e5f82cb /libraries/tcllib/tcllib.SlackBuild
parent32f1e178d6c327765d2ddc956bff9d4a36c68729 (diff)
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/tcllib.SlackBuild')
-rw-r--r--libraries/tcllib/tcllib.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/libraries/tcllib/tcllib.SlackBuild b/libraries/tcllib/tcllib.SlackBuild
index 3b3ec5840e49a..842eaaccf4ec2 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