diff options
Diffstat (limited to 'libraries/libmpeg2/libmpeg2.SlackBuild')
-rw-r--r-- | libraries/libmpeg2/libmpeg2.SlackBuild | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/libraries/libmpeg2/libmpeg2.SlackBuild b/libraries/libmpeg2/libmpeg2.SlackBuild index b94e3b15ec..81b1bca4c9 100644 --- a/libraries/libmpeg2/libmpeg2.SlackBuild +++ b/libraries/libmpeg2/libmpeg2.SlackBuild @@ -2,8 +2,8 @@ # Slackware build script for libmpeg2 -# Copyright (c) 2008, Antonio Hern�ndez Blas <hba.nihilismus@gmail.com> -# Copyright 2008 Heinz Wiesinger <pprkut@liwjatan.at> +# Copyright (c) 2008, Antonio Hernández Blas <hba.nihilismus@gmail.com> +# Copyright 2008-2011 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -27,12 +27,10 @@ VERSION=0.5.1 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 @@ -87,10 +85,7 @@ 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 - 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 \ |