Browse Source

xap/qemu: Upgraded to qemu-2.6.0.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
4d22c5c37b
  1. 13
      xap/qemu/doinst.sh
  2. 1
      xap/qemu/qemu-2.2.0.tar.bz2.sha1
  3. 1
      xap/qemu/qemu-2.6.0.tar.bz2.sha1
  4. 9
      xap/qemu/qemu.SlackBuild

13
xap/qemu/doinst.sh

@ -1,17 +1,4 @@
#!/bin/sh
config()
{
NEW="$1"
OLD="`dirname $NEW`/`basename $NEW .new`"
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then
rm $NEW
fi
}
for conf in /etc/qemu/target-*.conf.new; do
config $conf
done
if ! grep ^kvm /etc/group > /dev/null ; then
/usr/sbin/groupadd -g 210 kvm

1
xap/qemu/qemu-2.2.0.tar.bz2.sha1

@ -1 +0,0 @@
9a16623775a92fd25334f4eced4e6a56ab536233 qemu-2.2.0.tar.bz2

1
xap/qemu/qemu-2.6.0.tar.bz2.sha1

@ -0,0 +1 @@
d558a11d681dd095b1d7cb03c5b723c9d3045020 qemu-2.6.0.tar.bz2

9
xap/qemu/qemu.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009-2015 Damien Goutte-Gattat
# Copyright (C) 2009-2016 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -28,7 +28,7 @@
# Source package infos
NAMESRC=${NAMESRC:-qemu}
VERSION=${VERSION:-2.2.0}
VERSION=${VERSION:-2.6.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-http://wiki.qemu-project.org/download/$ARCHIVE}
@ -96,7 +96,7 @@ CXXFLAGS=$CPUOPT \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$NAME \
--audio-drv-list=alsa \
--audio-drv-list=alsa,pa \
--target-list=$BUILDARCH-softmmu # Build only virtualizer
# for current architecture
make
@ -113,9 +113,6 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
install -m 644 CODING_STYLE COPYING{,.LIB} Changelog HACKING LICENSE \
MAINTAINERS $PKG/usr/doc/$NAME
# Protect configuration file
mv $PKG/etc/qemu/target-$BUILDARCH.conf $PKG/etc/qemu/target-$BUILDARCH.conf.new
# Install Udev rule for KVM access
install -D -m 644 $CWD/91-kvm.rules $PKG/lib/udev/rules.d/91-kvm.rules

Loading…
Cancel
Save