summaryrefslogtreecommitdiff
path: root/system/qemu/qemu.SlackBuild
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2014-08-17 06:49:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-17 06:49:34 +0700
commitef896bae3797e50d308cf837f1ab53d658b3f977 (patch)
treee7b327a1e0cd36e9780cb6fbfed6367639336e98 /system/qemu/qemu.SlackBuild
parentb1cf3c24a8f4c168bdb94fe1403779dceb95eea2 (diff)
downloadslackbuilds-ef896bae3797e50d308cf837f1ab53d658b3f977.tar.gz
system/qemu: Updated for version 2.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/qemu/qemu.SlackBuild')
-rw-r--r--system/qemu/qemu.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/system/qemu/qemu.SlackBuild b/system/qemu/qemu.SlackBuild
index 3d20d9b223..fb68176211 100644
--- a/system/qemu/qemu.SlackBuild
+++ b/system/qemu/qemu.SlackBuild
@@ -33,11 +33,12 @@
# 1.3 03-NOV-2013 updated to 1.6.1
# 1.4 28-APR-2014 updated to 2.0.0 (thanks Callum Davies <calrogman@gmail.com>), added useful options,
# clean ups, libusb version check.
-# 1.4a 04-MAY-2014 fixed typos thanks to sandb0y
+# 1.4a 04-MAY-2014 fixed typos thanks to sandb0y
+# 1.5 10-AUG-2014 updated to new version, watch for legacy "gotchas"
PRGNAM=qemu
-VERSION=${VERSION:-2.0.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.1.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
KVMGROUP=${KVMGROUP:-users}
@@ -90,7 +91,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Remove double CFLAGS
sed -i "s|^\ \ CFLAGS=\"-O2\ | CFLAGS=\"|" configure
@@ -175,7 +176,7 @@ mkdir -p $PKG/lib/udev/rules.d/
sed "s/@GROUP@/$KVMGROUP/" $CWD/65-kvm.rules \
> $PKG/lib/udev/rules.d/65-kvm.rules
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# create a symlink for qemu-kvm to support aqemu and such frontends