diff options
author | Dave Margell <dmargell@gmail.com> | 2011-01-10 19:34:37 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-01-10 19:34:37 -0600 |
commit | 19eb609918e33900643f64a81061f14bba32e86d (patch) | |
tree | a36d8868f61b85b3119293ef2a6e2d14e50c737c /system/lrzip/lrzip.SlackBuild | |
parent | 3cbeb9e18a0071632a06ac0b7930ab7f8dfeebc1 (diff) |
system/lrzip: Updated for version 0.551.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 947029d38f365..02a5fa3bd6e67 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 |