Browse Source

xap/qemu: Upgraded to qemu-2.11.0.

slackware-14.2
Damien Goutte-Gattat 4 years ago
parent
commit
a9272947a2
  1. 1
      xap/qemu/qemu-2.11.0.tar.xz.sha256
  2. 1
      xap/qemu/qemu-2.6.0.tar.bz2.sha1
  3. 17
      xap/qemu/qemu.SlackBuild

1
xap/qemu/qemu-2.11.0.tar.xz.sha256

@ -0,0 +1 @@
c9d34a79024eae080ce3853aa9afe503824520eefb440190383003081ce7f437 qemu-2.11.0.tar.xz

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

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

17
xap/qemu/qemu.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009-2016 Damien Goutte-Gattat
# Copyright (C) 2009-2018 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -24,19 +24,20 @@
#
# Latest qemu sourcecode is available at: <http://wiki.qemu.org/Main_Page>.
#
# Recommends: l/spice
# Optional: l/spice
# Source package infos
NAMESRC=${NAMESRC:-qemu}
VERSION=${VERSION:-2.6.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-http://wiki.qemu-project.org/download/$ARCHIVE}
VERSION=${VERSION:-2.11.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz}
WGET=${WGET:-https://download.qemu.org/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-qemu}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
EXT=${EXT:-txz}
JOBS=${JOBS:-1}
# Directories
TMP=${TMP:-/tmp}
@ -79,7 +80,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -99,7 +100,7 @@ CXXFLAGS=$CPUOPT \
--audio-drv-list=alsa,pa \
--target-list=$BUILDARCH-softmmu # Build only virtualizer
# for current architecture
make
make -j $JOBS
make install DESTDIR=$PKG
rmdir $PKG/var/run $PKG/var
@ -111,7 +112,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
install -m 644 CODING_STYLE COPYING{,.LIB} Changelog HACKING LICENSE \
MAINTAINERS $PKG/usr/doc/$NAME
MAINTAINERS README $PKG/usr/doc/$NAME
# 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