From f9976a5efc8b9f155bd573a0b22d58b84399ea96 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 25 Sep 2012 13:12:37 -0500 Subject: libraries/tcllib: Updated for version 1.14. I verified that memchan, tklib, and tkimg all build with this. Signed-off-by: Robby Workman --- libraries/tcllib/tcllib.SlackBuild | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'libraries/tcllib/tcllib.SlackBuild') 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 -- cgit v1.2.3