mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
system/ktsuss: Updated for version 1.4
This commit is contained in:
parent
e87afa1f51
commit
06c4fd7a92
3 changed files with 17 additions and 10 deletions
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for ktsuss
|
# Slackware build script for ktsuss
|
||||||
|
|
||||||
# Copyright 2008 Murat D. Kadirov <banderols@gmail.com>
|
# 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.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -36,10 +36,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
SLKCFLAGS="-O2 -fPIC"
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -61,6 +64,7 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
--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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a COPYING CREDITS Changelog INSTALL README \
|
cp -a \
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
COPYING CREDITS Changelog INSTALL README \
|
||||||
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
cd $PKG
|
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}
|
||||||
|
|
|
@ -3,6 +3,8 @@ VERSION="1.4"
|
||||||
HOMEPAGE="http://nomius.blogspot.com"
|
HOMEPAGE="http://nomius.blogspot.com"
|
||||||
DOWNLOAD="http://download.berlios.de/ktsuss/ktsuss-1.4.tar.gz"
|
DOWNLOAD="http://download.berlios.de/ktsuss/ktsuss-1.4.tar.gz"
|
||||||
MD5SUM="bad627cc5f5de08262fa4e60881ac30a"
|
MD5SUM="bad627cc5f5de08262fa4e60881ac30a"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Murat D. Kadirov"
|
MAINTAINER="Murat D. Kadirov"
|
||||||
EMAIL="banderols@gmail.com"
|
EMAIL="banderols@gmail.com"
|
||||||
APPROVED="David Somero"
|
APPROVED="dsomero,rworkman"
|
||||||
|
|
|
@ -7,13 +7,13 @@
|
||||||
|
|
||||||
|-----handy-ruler------------------------------------------------------|
|
|-----handy-ruler------------------------------------------------------|
|
||||||
ktsuss: ktsuss (a gtk su helper)
|
ktsuss: ktsuss (a gtk su helper)
|
||||||
ktsuss:
|
ktsuss:
|
||||||
ktsuss: ktsuss stands for "keep the su simple, stupid", and as the name
|
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: implies, is a graphical version of su written in C and GTK+ 2
|
||||||
ktsuss: (similar in functionality to kdesu and gksu).
|
ktsuss: (similar in functionality to kdesu and gksu).
|
||||||
ktsuss:
|
ktsuss:
|
||||||
ktsuss: The goal of the project is to remain simple and bug free...
|
ktsuss: The goal of the project is to remain simple and bug free...
|
||||||
ktsuss:
|
ktsuss:
|
||||||
ktsuss: Homepage: http://developer.berlios.de/projects/ktsuss
|
ktsuss: Homepage: http://developer.berlios.de/projects/ktsuss
|
||||||
ktsuss:
|
ktsuss:
|
||||||
ktsuss:
|
ktsuss:
|
||||||
|
|
Loading…
Reference in a new issue