diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-05-13 00:20:23 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:20:23 +0200 |
commit | 7e3da41ec3d14af5a6540a5d8685e1494417dcb2 (patch) | |
tree | b153740dd40ce747db0671f7ae827cb11e09180b /academic/speedcrunch/speedcrunch.SlackBuild | |
parent | 257a0d99e9754f53aba6fc409a576d2ca602eb88 (diff) | |
download | slackbuilds-7e3da41ec3d14af5a6540a5d8685e1494417dcb2.tar.gz |
academic/speedcrunch: Updated for version 0.10.1
Diffstat (limited to 'academic/speedcrunch/speedcrunch.SlackBuild')
-rw-r--r-- | academic/speedcrunch/speedcrunch.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/academic/speedcrunch/speedcrunch.SlackBuild b/academic/speedcrunch/speedcrunch.SlackBuild index fafd3cd0cb..df496abe6a 100644 --- a/academic/speedcrunch/speedcrunch.SlackBuild +++ b/academic/speedcrunch/speedcrunch.SlackBuild @@ -17,10 +17,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 @@ -42,10 +45,11 @@ patch -p1 < $CWD/speedcrunch-0.10.1-fix-icon-name.patch mkdir build && cd build # Make translations for speedcrunch - lrelease-qt4 ../src/$PRGNAM.pro + lrelease ../src/$PRGNAM.pro cmake "-DCMAKE_INSTALL_PREFIX=/usr" \ "-DCMAKE_CXX_FLAGS=$SLKCFLAGS" \ "-DCMAKE_C_FLAGS=$SLKCFLAGS" \ + "-DLIB_SUFFIX:STRING=${LIBDIRSUFFIX}" \ "-DCMAKE_BUILD_TYPE=$ARCH-slackware-linux" ../src make make install DESTDIR=$PKG @@ -67,4 +71,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc 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} |