summaryrefslogtreecommitdiffstats
path: root/qemu-kvm
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2011-03-27 21:40:54 +0000
committer Eric Hameleers <alien@slackware.com>2011-03-27 21:40:54 +0000
commitbbab190fa5ecc5f04722bcb2d12f2578300a1d9c (patch)
tree6c614f2b12d3161da8f8ff8ccf046b62beaa72a6 /qemu-kvm
parentb58c3599cac9d84b9d1d708671e2c2f99a09a3a2 (diff)
downloadasb-bbab190fa5ecc5f04722bcb2d12f2578300a1d9c.tar.gz
asb-bbab190fa5ecc5f04722bcb2d12f2578300a1d9c.tar.xz
Updated to 0.14
Diffstat (limited to 'qemu-kvm')
-rwxr-xr-xqemu-kvm/build/qemu-kvm.SlackBuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/qemu-kvm/build/qemu-kvm.SlackBuild b/qemu-kvm/build/qemu-kvm.SlackBuild
index 85d6c485..c31ae5d3 100755
--- a/qemu-kvm/build/qemu-kvm.SlackBuild
+++ b/qemu-kvm/build/qemu-kvm.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
# $Id$
-# Copyright (c) 2010 Eric Hameleers, Eindhoven, NL
+# Copyright 2010, 2011 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -32,6 +32,8 @@
# Changelog:
# 0.12.5-1: 23/Aug/2010 by Eric Hameleers <alien@slackware.com>
# * Initial build.
+# 0.14-1: 28/mar/2011 by Eric Hameleers <alien@slackware.com>
+# * Update.
#
# Run 'sh qemu-kvm.SlackBuild' to build a Slackware package.
# The package (.tgz) and .txt file as well as build logs are created in /tmp .
@@ -42,7 +44,7 @@
# Set initial variables:
PRGNAM=qemu-kvm
-VERSION=${VERSION:-0.12.5}
+VERSION=${VERSION:-0.14}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:" -j4 "}
TAG=${TAG:-alien}
@@ -109,10 +111,11 @@ rm -rf $OUTPUT/{configure,make,install,error,makepkg}-$PRGNAM.log
# Source file availability:
if ! [ -f ${SOURCE} ]; then
+ echo "Source '$(basename ${SOURCE})' not available yet..."
+ # Check if the $SRCDIR is writable at all - if not, download to $OUTPUT
+ [ -w "$SRCDIR" ] || SOURCE="$OUTPUT/$(basename $SOURCE)"
+ if [ -f ${SOURCE} ]; then echo "Ah, found it!"; continue; fi
if ! [ "x${SRCURL}" == "x" ]; then
- # Check if the $SRCDIR is writable at all - if not, download to $OUTPUT
- [ -w "$SRCDIR" ] || SOURCE="$OUTPUT/$(basename $SOURCE)"
- echo "Source '$(basename ${SOURCE})' not available yet..."
echo "Will download file to $(dirname $SOURCE)"
wget -nv -T 20 -O "${SOURCE}" "${SRCURL}" || true
if [ $? -ne 0 -o ! -s "${SOURCE}" ]; then