summaryrefslogtreecommitdiff
path: root/network/mz/mz.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-10-20 01:28:06 -0500
committerErik Hanson <erik@slackbuilds.org>2010-10-20 10:50:47 -0500
commitfcc89666fc67de07ab0015ced285ce0774c97853 (patch)
tree27db790c848147d43544a6230c43d608bd846771 /network/mz/mz.SlackBuild
parentfbdfaed83cdb6c6933085644bf2c7482c7a82f37 (diff)
downloadslackbuilds-fcc89666fc67de07ab0015ced285ce0774c97853.tar.gz
network/mz: Updated for version 0.40.
Diffstat (limited to 'network/mz/mz.SlackBuild')
-rw-r--r--network/mz/mz.SlackBuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/network/mz/mz.SlackBuild b/network/mz/mz.SlackBuild
index 17b6d1a0ba..d80c4e05d9 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