summaryrefslogtreecommitdiff
path: root/system/qemu
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-02-17 22:13:02 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-02-20 12:57:26 -0600
commit0ea9a9463b1fbdd1fedd4ee64fa297fa489c5ed1 (patch)
tree4ed77bb2497f33ac4959eea5dec3dbe15b53947b /system/qemu
parent90c6d7b0daf5b03cbaffec87d965926f3a829b91 (diff)
downloadslackbuilds-0ea9a9463b1fbdd1fedd4ee64fa297fa489c5ed1.tar.gz
system/qemu: Updated for version 1.0.1.
This bumps qemu to the latest 1.x release (with permission of current SBo maintainer) and makes a few cosmetic fixes... Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/qemu')
-rw-r--r--system/qemu/qemu.SlackBuild11
-rw-r--r--system/qemu/qemu.info6
2 files changed, 13 insertions, 4 deletions
diff --git a/system/qemu/qemu.SlackBuild b/system/qemu/qemu.SlackBuild
index 9f8df7e2b5..7fb4149797 100644
--- a/system/qemu/qemu.SlackBuild
+++ b/system/qemu/qemu.SlackBuild
@@ -25,7 +25,7 @@
# Modified by the SlackBuilds.org project
PRGNAM=qemu
-VERSION=0.14.1
+VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,6 +67,15 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# To get the stable-1.0 patches, do this in git checkout of qemu:
+# git format-patch v1.0.1..origin/stable-1.0
+#for i in $CWD/patches/*.patch ; do patch -p1 < $i ; done
+
+# Disable debug (hardcoded) and remove double CFLAGS
+sed -i "s|^CFLAGS=\"-g\ |CFLAGS=\"|" configure
+sed -i "s|^LDFLAGS=\"-g\ |LDFLAGS=\"|" configure
+sed -i "s|^\ \ CFLAGS=\"-O2\ | CFLAGS=\"|" configure
+
# --libdir isn't recognized and isn't needed anyway
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/system/qemu/qemu.info b/system/qemu/qemu.info
index ac32733b64..598a29886b 100644
--- a/system/qemu/qemu.info
+++ b/system/qemu/qemu.info
@@ -1,8 +1,8 @@
PRGNAM="qemu"
-VERSION="0.14.1"
+VERSION="1.0.1"
HOMEPAGE="http://wiki.qemu.org/Main_Page"
-DOWNLOAD="http://download.savannah.gnu.org/releases/qemu/qemu-0.14.1.tar.gz"
-MD5SUM="b6c713a8db638e173af53a62d5178640"
+DOWNLOAD="http://wiki.qemu.org/download/qemu-1.0.1.tar.gz"
+MD5SUM="5efd1091f01e3bc31bfdec27b8edeb00"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Andrew Brouwers"