summaryrefslogtreecommitdiff
path: root/system/vhba-module/vhba-module.SlackBuild
diff options
context:
space:
mode:
authorNiklas Nille Åkerström <nille.kungen[AT]gmail.com>2010-05-13 00:42:13 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:42:13 +0200
commit75eab98f49268caa39cde60f1677f56d9bbd7b4f (patch)
treeddf8cad5e5826fa99b95be949cda287167768e09 /system/vhba-module/vhba-module.SlackBuild
parent6a625a605e06adae91c23545ce43c1f3f2b11cb4 (diff)
downloadslackbuilds-75eab98f49268caa39cde60f1677f56d9bbd7b4f.tar.gz
system/vhba-module: Updated for version 1.2.1
Diffstat (limited to 'system/vhba-module/vhba-module.SlackBuild')
-rw-r--r--system/vhba-module/vhba-module.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/system/vhba-module/vhba-module.SlackBuild b/system/vhba-module/vhba-module.SlackBuild
index b7f933fb2a..752b45c9a6 100644
--- a/system/vhba-module/vhba-module.SlackBuild
+++ b/system/vhba-module/vhba-module.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for vhba-module
-# Copyright 2008 Heinz Wiesinger <pprkut@liwjatan.at>
+# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -30,8 +30,8 @@ ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-KERNELVERSION=${KERNELVERSION:-$(uname -r)}
-VERSION=${SRC_VERSION}_$(echo $KERNELVERSION | tr - _)
+KERNEL=${KERNEL:-$(uname -r)}
+VERSION=${SRC_VERSION}_$(echo $KERNEL | tr - _)
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -50,10 +50,10 @@ chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-make KERNELRELEASE=$KERNELVERSION || exit 1
+make KERNELRELEASE=$KERNEL || exit 1
-mkdir -p $PKG/lib/modules/$KERNELVERSION/extra
-install -m 0664 vhba.ko $PKG/lib/modules/$KERNELVERSION/extra/
+mkdir -p $PKG/lib/modules/$KERNEL/extra
+install -m 0664 vhba.ko $PKG/lib/modules/$KERNEL/extra/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -63,7 +63,7 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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}
if [ "$1" = "--cleanup" ]; then
rm -rf $PKG $TMP/$PRGNAM-$SRC_VERSION