diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2012-02-17 22:13:02 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-02-20 12:57:26 -0600 |
commit | 0ea9a9463b1fbdd1fedd4ee64fa297fa489c5ed1 (patch) | |
tree | 4ed77bb2497f33ac4959eea5dec3dbe15b53947b /system/qemu/qemu.SlackBuild | |
parent | 90c6d7b0daf5b03cbaffec87d965926f3a829b91 (diff) |
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/qemu.SlackBuild')
-rw-r--r-- | system/qemu/qemu.SlackBuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/system/qemu/qemu.SlackBuild b/system/qemu/qemu.SlackBuild index 9f8df7e2b5578..7fb4149797cda 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" \ |