summaryrefslogtreecommitdiff
path: root/network/mz
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
parentfbdfaed83cdb6c6933085644bf2c7482c7a82f37 (diff)
downloadslackbuilds-fcc89666fc67de07ab0015ced285ce0774c97853.tar.gz
network/mz: Updated for version 0.40.
Diffstat (limited to 'network/mz')
-rw-r--r--network/mz/mz.SlackBuild13
-rw-r--r--network/mz/mz.info8
2 files changed, 8 insertions, 13 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
diff --git a/network/mz/mz.info b/network/mz/mz.info
index 271938c2e0..2462fe0204 100644
--- a/network/mz/mz.info
+++ b/network/mz/mz.info
@@ -1,10 +1,10 @@
PRGNAM="mz"
-VERSION="0.39"
+VERSION="0.40"
HOMEPAGE="http://www.perihel.at/sec/mz"
-DOWNLOAD="http://www.perihel.at/sec/mz/mz-0.39.tar.gz"
-MD5SUM="b0ffc5dab78880e7f9187fa21e6fa63f"
+DOWNLOAD="http://www.perihel.at/sec/mz/mz-0.40.tar.gz"
+MD5SUM="d3d959c92cbf3d81224f5b2f8409e9d8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Heinz Wiesinger"
EMAIL="pprkut@liwjatan.at"
-APPROVED="rworkman"
+APPROVED="Erik Hanson"