summaryrefslogtreecommitdiff
path: root/system/numlockx/numlockx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/numlockx/numlockx.SlackBuild')
-rw-r--r--system/numlockx/numlockx.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/system/numlockx/numlockx.SlackBuild b/system/numlockx/numlockx.SlackBuild
index ddadac9826..2287ffa748 100644
--- a/system/numlockx/numlockx.SlackBuild
+++ b/system/numlockx/numlockx.SlackBuild
@@ -8,17 +8,18 @@
# Granted WTFPLv2, as published by Sam Hocevar dec'04.
# For details see http://sam.zoy.org/wtfpl/COPYING
+# Maintained as of version 1.2 by Niels Horn <niels.horn@gmail.com>
+# Revision date: 2010/10/26
+
PRGNAM=numlockx
-VERSION=${VERSION:-1.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.2}
+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
@@ -64,7 +65,7 @@ CFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --x-libraries="/usr/lib/X11" \
+ --x-libraries="/usr/lib${LIBDIRSUFFIX}/X11" \
--x-includes="/usr/include/X11" \
--build=$ARCH-slackware-linux