diff options
author | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-13 00:24:51 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:24:51 +0200 |
commit | 727065834b9f9a0130f3e524b4084fb147df6a9e (patch) | |
tree | 048a393b05ca7b3d207b03880d225e9494d7d3c7 /development/kdesvn/kdesvn.SlackBuild | |
parent | 5b840e5371b5f2551d377bd009bc49b566bf36e5 (diff) |
development/kdesvn: Updated for version 1.4.1
Diffstat (limited to 'development/kdesvn/kdesvn.SlackBuild')
-rw-r--r-- | development/kdesvn/kdesvn.SlackBuild | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/development/kdesvn/kdesvn.SlackBuild b/development/kdesvn/kdesvn.SlackBuild index f7bc8e7cb123d..bf90398e17ab3 100644 --- a/development/kdesvn/kdesvn.SlackBuild +++ b/development/kdesvn/kdesvn.SlackBuild @@ -1,8 +1,7 @@ #!/bin/sh # Slackware build script for kdesvn - -# Copyright 2007-2008 Michiel van Wessem, Manchester, United Kingdom +# Copyright 2007-2009 Michiel van Wessem, Manchester, United Kingdom # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=kdesvn -VERSION=${VERSION:-1.0.5} +VERSION=${VERSION:-1.4.1} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,11 +33,14 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -62,8 +64,10 @@ cd build -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ - .. + -DCMAKE_BUILD_TYPE=Release .. + make VERBOSE=1 make install VERBOSE=1 DESTDIR=$PKG cd - @@ -88,4 +92,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} |