diff options
Diffstat (limited to 'office')
-rw-r--r-- | office/eqonomize/eqonomize.SlackBuild | 27 | ||||
-rw-r--r-- | office/eqonomize/eqonomize.info | 12 |
2 files changed, 23 insertions, 16 deletions
diff --git a/office/eqonomize/eqonomize.SlackBuild b/office/eqonomize/eqonomize.SlackBuild index dc94702af0..9c3d88ee46 100644 --- a/office/eqonomize/eqonomize.SlackBuild +++ b/office/eqonomize/eqonomize.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for eqonomize -# Copyright 2008 Heinz Wiesinger <hmwiesinger@gmx.at> +# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at> # 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=eqonomize -VERSION=0.5 +VERSION=0.6 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -35,8 +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 @@ -50,18 +55,18 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --sysconfdir=/etc/kde \ - --localstatedir=/var +cmake \ + -DCMAKE_C_FLAGS="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DLIB_SUFFIX="$LIBDIRSUFFIX" \ + . make -make install-strip DESTDIR=$PKG +make install DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \ +cp -a AUTHORS ChangeLog COPYING \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -70,4 +75,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} diff --git a/office/eqonomize/eqonomize.info b/office/eqonomize/eqonomize.info index 3282a938e1..53f42deaca 100644 --- a/office/eqonomize/eqonomize.info +++ b/office/eqonomize/eqonomize.info @@ -1,8 +1,10 @@ PRGNAM="eqonomize" -VERSION="0.5" +VERSION="0.6" HOMEPAGE="http://eqonomize.sourceforge.net" -DOWNLOAD="http://downloads.sourceforge.net/eqonomize/eqonomize-0.5.tar.gz" -MD5SUM="243b68fc48389fc87107cc25ff8f40be" -MAINTAINER="ppr:kut" -EMAIL="HMWiesinger@gmx.at" +DOWNLOAD="http://downloads.sourceforge.net/eqonomize/eqonomize-0.6.tar.gz" +DOWNLOAD_x86_64="" +MD5SUM="02d7c98c4ca822873c355fd9095a3268" +MD5SUM_x86_64="" +MAINTAINER="pprkut" +EMAIL="pprkut@liwjatan.at" APPROVED="rworkman" |