office/vym: Updated for version 1.12.6

This commit is contained in:
Heinz Wiesinger 2010-05-13 00:39:29 +02:00 committed by Erik Hanson
parent 6fdc8e28a7
commit 5cfebcb29d
3 changed files with 16 additions and 13 deletions

View File

@ -4,5 +4,3 @@ creativity and effectivity. You can use them for time management,
to organize tasks, to get an overview over complex contexts, to
sort your ideas etc. Some people even think it is fun to work with
such maps...
vym requires qt4, which is also available from SlackBuilds.org.

View File

@ -2,7 +2,7 @@
# Slackware build script for vym
# Copyright 2008 Heinz Wiesinger <pprkut@liwjatan.at>
# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=vym
VERSION=1.12.2
VERSION=1.12.6
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
set -e
@ -56,12 +59,12 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
qmake-qt4 \
qmake \
QMAKE_CFLAGS+="$SLKCFLAGS" \
QMAKE_CXXFLAGS+="$SLKCFLAGS" \
PREFIX=/usr \
DOCDIR=/usr/doc/$PRGNAM-$VERSION
sed -i "s|-pipe -g -Wall|$SLKCFLAGS -pipe -g -Wall|g" Makefile
make
make install INSTALL_ROOT=$PKG
@ -83,4 +86,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View File

@ -1,8 +1,10 @@
PRGNAM="vym"
VERSION="1.12.2"
VERSION="1.12.6"
HOMEPAGE="http://www.insilmaril.de/vym/"
DOWNLOAD="http://downloads.sourceforge.net/vym/vym-1.12.2.tar.bz2"
MD5SUM="ff2dc8f2dad9bda128753ed94aed302d"
MAINTAINER="ppr:kut"
DOWNLOAD="http://downloads.sourceforge.net/vym/vym-1.12.6.tar.bz2"
MD5SUM="12bfdf82c679f14354f9577df62de7e9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Heinz Wiesinger"
EMAIL="pprkut@liwjatan.at"
APPROVED="dsomero"
APPROVED="Erik Hanson"