diff options
Diffstat (limited to 'system/lrzip/lrzip.SlackBuild')
-rw-r--r-- | system/lrzip/lrzip.SlackBuild | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/system/lrzip/lrzip.SlackBuild b/system/lrzip/lrzip.SlackBuild index 947029d38f36..02a5fa3bd6e6 100644 --- a/system/lrzip/lrzip.SlackBuild +++ b/system/lrzip/lrzip.SlackBuild @@ -5,16 +5,14 @@ # Written by Dave Margell <dmargell@gmail.com> PRGNAM=lrzip -VERSION=${VERSION:-0.46} +VERSION=${VERSION:-0.551} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -61,18 +59,13 @@ CXXFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --build=$ARCH-slackware-linux -make make install DESTDIR=$PKG -# Fix some bad symlinks. -rm -f $PKG/usr/bin/{lrunzip,lrzuntar} -ln -sf lrzip $PKG/usr/bin/lrunzip -ln -sf lrztar $PKG/usr/bin/lrzuntar - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true 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 # Docs are already in place. Just add our SlackBuild. mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |