diff options
author | Chris Abela <kristofru@gmail.com> | 2011-10-19 08:52:38 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-10-22 10:17:09 -0200 |
commit | f1b615efa6a0e92db49a5f9a622bd858313a7006 (patch) | |
tree | 755c16c2a6f9ac5be5c4f766a653af94a6ad0c43 /system/vlock/vlock.SlackBuild | |
parent | 23ca6db3adcbe896b4b3301e3b03132040f94337 (diff) | |
download | slackbuilds-f1b615efa6a0e92db49a5f9a622bd858313a7006.tar.gz |
system/vlock: Updated for version 2.2.3.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'system/vlock/vlock.SlackBuild')
-rw-r--r-- | system/vlock/vlock.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/system/vlock/vlock.SlackBuild b/system/vlock/vlock.SlackBuild index cfcf1fd6d2..1b76e72c25 100644 --- a/system/vlock/vlock.SlackBuild +++ b/system/vlock/vlock.SlackBuild @@ -3,19 +3,17 @@ # Slackware build script for vlock # Written by Menno E. Duursma <druiloor@zonnet.nl> # Modified by Robby Workman <rworkman@slackbuilds.org> -# Modified by Chris Abela <chris.abela@maltats.com> +# Modified by Chris Abela <kristofru@gmail.com> PRGNAM=vlock -VERSION=2.2.2 +VERSION=${VERSION:-2.2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -41,7 +39,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -62,9 +60,9 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ - --enable-shadow \ + --enable-shadow -make +make make install DESTDIR=$PKG VLOCK_GROUP="$VLOCK_GRP" find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ |