diff options
Diffstat (limited to 'network/mz/mz.SlackBuild')
-rw-r--r-- | network/mz/mz.SlackBuild | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/network/mz/mz.SlackBuild b/network/mz/mz.SlackBuild index 17b6d1a0ba7b3..d80c4e05d9cfc 100644 --- a/network/mz/mz.SlackBuild +++ b/network/mz/mz.SlackBuild @@ -23,16 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mz -VERSION=0.39 +VERSION=0.40 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 @@ -62,9 +60,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -mkdir $PRGNAM-$VERSION -cd $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -86,10 +83,8 @@ make make install DESTDIR=$PKG mv $PKG/usr/share/man $PKG/usr/ -( 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 {} \; find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |