aboutsummaryrefslogtreecommitdiff
path: root/system/kvm-kmod/kvm-kmod.SlackBuild
diff options
context:
space:
mode:
authorStu Miller <slackbuilds@go4it2day.com>2011-01-16 01:41:14 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-01-16 01:41:14 -0600
commit9e2de2de7f4669113a97e3aab20d563bd7edffcf (patch)
treeadcd74cb6a1f4106a52989160114db84652cd769 /system/kvm-kmod/kvm-kmod.SlackBuild
parentb878aabf9252914b6480095fe1067ccb1bd84e7a (diff)
system/kvm-kmod: Updated for version 2.6.37.
This commit also fixes the build process for those wanting to build for a kernel other than the one that happens to be running at that time. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/kvm-kmod/kvm-kmod.SlackBuild')
-rw-r--r--system/kvm-kmod/kvm-kmod.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/kvm-kmod/kvm-kmod.SlackBuild b/system/kvm-kmod/kvm-kmod.SlackBuild
index 7a0b77b11f6a..5f98a54c2918 100644
--- a/system/kvm-kmod/kvm-kmod.SlackBuild
+++ b/system/kvm-kmod/kvm-kmod.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kvm-kmod
-VERSION=${VERSION:-2.6.35.6}
+VERSION=${VERSION:-2.6.37}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -77,10 +77,12 @@ CFLAGS="$SLKCFLAGS" \
make \
PREFIX=/usr \
PKGCONFIGDIR=/usr/lib${LIBDIRSUFFIX}/pkgconfig \
- docdir=/usr/doc/$PRGNAM-$VERSION
+ docdir=/usr/doc/$PRGNAM-$VERSION \
+ KERNELDIR=/lib/modules/$KERNEL/source
make install \
PREFIX=/usr \
PKGCONFIGDIR=/usr/lib${LIBDIRSUFFIX}/pkgconfig \
+ KERNELDIR=/lib/modules/$KERNEL/source \
DESTDIR=$PKG
# Eliminate unused pkgconfig text file