diff options
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 \ |