diff options
author | Michiel van Wessem <michiel.van.wessem@gmail.com> | 2010-05-11 19:45:53 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 19:45:53 +0200 |
commit | 1870920366b8c7c4a7e18fbf5b24bb2d099ba502 (patch) | |
tree | a9d4938536a9f994de745d4f3b1296acbe5979d7 /network/konversation/konversation.SlackBuild | |
parent | 227edd54d445076ded98c48664d728fa601236af (diff) | |
download | slackbuilds-1870920366b8c7c4a7e18fbf5b24bb2d099ba502.tar.gz |
network/konversation: Updated for version 1.0.1
Diffstat (limited to 'network/konversation/konversation.SlackBuild')
-rw-r--r-- | network/konversation/konversation.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/network/konversation/konversation.SlackBuild b/network/konversation/konversation.SlackBuild index 1c79c01d0c..185045d35e 100644 --- a/network/konversation/konversation.SlackBuild +++ b/network/konversation/konversation.SlackBuild @@ -9,7 +9,7 @@ VERSION=1.0.1 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$NAME OUTPUT=${OUTPUT:-/tmp} @@ -23,8 +23,6 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" -elif [ "$ARCH" = "athlon_xp" ]; then - SLKCFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -f fast-math -mmmx -m3dnow -msse -mfpmath=sse" fi rm -rf $PKG @@ -37,10 +35,12 @@ cd $NAME-$VERSION || exit 1 chown -R root:root . chmod -R a-s,u+w,go+r-w . +KDEPREF=$(kde-config --prefix) + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ - --prefix=/opt/kde \ + --prefix=$KDEPREF \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ @@ -67,7 +67,7 @@ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs st if [ -d $PKG/usr/man ]; then ( 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 + for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done ) fi |