diff options
author | Murat D. Kadirov <banderols@gmail.com> | 2010-05-13 00:40:49 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:40:49 +0200 |
commit | 06c4fd7a92c544c4eccd38cb659e8b01db103cce (patch) | |
tree | ebf97ed65306908179a36030117de9715ece9bef /system/ktsuss/ktsuss.SlackBuild | |
parent | e87afa1f51811b17e1d4455f0782d5fd9e867d51 (diff) | |
download | slackbuilds-06c4fd7a92c544c4eccd38cb659e8b01db103cce.tar.gz |
system/ktsuss: Updated for version 1.4
Diffstat (limited to 'system/ktsuss/ktsuss.SlackBuild')
-rw-r--r-- | system/ktsuss/ktsuss.SlackBuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/system/ktsuss/ktsuss.SlackBuild b/system/ktsuss/ktsuss.SlackBuild index dda7a9ebb2..c3e782924f 100644 --- a/system/ktsuss/ktsuss.SlackBuild +++ b/system/ktsuss/ktsuss.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for ktsuss # Copyright 2008 Murat D. Kadirov <banderols@gmail.com> -# Copyright 2008 Robby Workman Northport, AL, USA +# Copyright 2009 Robby Workman Northport, AL, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -36,10 +36,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 @@ -61,6 +64,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --docdir=/usr/doc/$PRGNAM-$VERSION \ @@ -73,12 +77,13 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING CREDITS Changelog INSTALL README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + COPYING CREDITS Changelog INSTALL README \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild 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} |