summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/vhba-module/vhba-module.SlackBuild14
-rw-r--r--system/vhba-module/vhba-module.info4
2 files changed, 10 insertions, 8 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
diff --git a/system/vhba-module/vhba-module.info b/system/vhba-module/vhba-module.info
index 90c40bf78b..5ba23f7381 100644
--- a/system/vhba-module/vhba-module.info
+++ b/system/vhba-module/vhba-module.info
@@ -2,7 +2,9 @@ PRGNAM="vhba-module"
VERSION="1.2.1"
HOMEPAGE="http://cdemu.sourceforge.net/pkg_vhba.php"
DOWNLOAD="http://downloads.sourceforge.net/cdemu/vhba-module-1.2.1.tar.bz2"
+DOWNLOAD_x86_64=""
MD5SUM="a3b6ad798f2b72ef599df797ef79e5ec"
+MD5SUM_x86_64=""
MAINTAINER="Niklas 'Nille' Åkerström"
EMAIL="nille.kungen[AT]gmail.com"
-APPROVED="dsomero"
+APPROVED="dsomero,pprkut"