summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/ktsuss/ktsuss.SlackBuild13
-rw-r--r--system/ktsuss/ktsuss.info4
-rw-r--r--system/ktsuss/slack-desc10
3 files changed, 17 insertions, 10 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}
diff --git a/system/ktsuss/ktsuss.info b/system/ktsuss/ktsuss.info
index 0fa21dcb0a..19145a3e74 100644
--- a/system/ktsuss/ktsuss.info
+++ b/system/ktsuss/ktsuss.info
@@ -3,6 +3,8 @@ VERSION="1.4"
HOMEPAGE="http://nomius.blogspot.com"
DOWNLOAD="http://download.berlios.de/ktsuss/ktsuss-1.4.tar.gz"
MD5SUM="bad627cc5f5de08262fa4e60881ac30a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Murat D. Kadirov"
EMAIL="banderols@gmail.com"
-APPROVED="David Somero"
+APPROVED="dsomero,rworkman"
diff --git a/system/ktsuss/slack-desc b/system/ktsuss/slack-desc
index 8df50a2c86..1885bf7d6b 100644
--- a/system/ktsuss/slack-desc
+++ b/system/ktsuss/slack-desc
@@ -7,13 +7,13 @@
|-----handy-ruler------------------------------------------------------|
ktsuss: ktsuss (a gtk su helper)
-ktsuss:
+ktsuss:
ktsuss: ktsuss stands for "keep the su simple, stupid", and as the name
ktsuss: implies, is a graphical version of su written in C and GTK+ 2
ktsuss: (similar in functionality to kdesu and gksu).
-ktsuss:
+ktsuss:
ktsuss: The goal of the project is to remain simple and bug free...
-ktsuss:
+ktsuss:
ktsuss: Homepage: http://developer.berlios.de/projects/ktsuss
-ktsuss:
-ktsuss:
+ktsuss:
+ktsuss: