summaryrefslogtreecommitdiff
path: root/desktop/wmii/wmii.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/wmii/wmii.SlackBuild')
-rw-r--r--desktop/wmii/wmii.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/desktop/wmii/wmii.SlackBuild b/desktop/wmii/wmii.SlackBuild
index eb9e63d16b..e67ef77cc1 100644
--- a/desktop/wmii/wmii.SlackBuild
+++ b/desktop/wmii/wmii.SlackBuild
@@ -26,15 +26,13 @@
PRGNAM=wmii
SRCNAM=wmii+ixp
VERSION=3.9.2
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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
@@ -79,19 +77,19 @@ patch -p1 < $CWD/wmii-3.9.2-config_mk.diff
patch -p1 < $CWD/wmii-3.9.2-mk_hdr_mk.diff
make \
- OPT="$SLKCLAGS" \
+ OPT="$SLKCFLAGS" \
PREFIX=/usr \
MAN=/usr/man \
ETC=/etc \
LIBDIRSUFFIX=${LIBDIRSUFFIX}
-
+
make install \
- OPT="$SLKCLAGS" \
+ OPT="$SLKCFLAGS" \
PREFIX=$PKG/usr \
MAN=$PKG/usr/man \
ETC=$PKG/etc \
LIBDIRSUFFIX=${LIBDIRSUFFIX}
-
+
# Add wmii to xwmconfig's list...
install -D -m 0755 $CWD/xinitrc.wmii $PKG/etc/X11/xinit/xinitrc.wmii
# ...and the required startup script