diff options
Diffstat (limited to 'libraries/tcllib/tcllib.SlackBuild')
-rw-r--r-- | libraries/tcllib/tcllib.SlackBuild | 12 |
1 files changed, 5 insertions, 7 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 |