Browse Source

xap/qemu: Upgraded to qemu-4.1.0.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
2ba631b4db
  1. 1
      xap/qemu/qemu-2.11.0.tar.xz.sha256
  2. 1
      xap/qemu/qemu-4.1.0.tar.xz.sha256
  3. 15
      xap/qemu/qemu.SlackBuild

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

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

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

@ -0,0 +1 @@
656e60218689bdeec69903087fd7582d5d3e72238d02f4481d8dc6d79fd909c6 qemu-4.1.0.tar.xz

15
xap/qemu/qemu.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009-2018 Damien Goutte-Gattat
# Copyright (C) 2009-2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -23,12 +23,10 @@
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest qemu sourcecode is available at: <http://wiki.qemu.org/Main_Page>.
#
# Optional: l/spice
# Source package infos
NAMESRC=${NAMESRC:-qemu}
VERSION=${VERSION:-2.11.0}
VERSION=${VERSION:-4.1.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz}
WGET=${WGET:-https://download.qemu.org/$ARCHIVE}
@ -88,9 +86,10 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
mkdir build && cd build
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
../configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
@ -103,15 +102,17 @@ CXXFLAGS=$CPUOPT \
make -j $JOBS
make install DESTDIR=$PKG
rmdir $PKG/var/run $PKG/var
cd ..
# Install networking helper script as setuid root
chmod 4755 $PKG/usr/libexec/qemu-bridge-helper
# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
# (they are only built if d/sphinx is available)
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
install -m 644 CODING_STYLE COPYING{,.LIB} Changelog HACKING LICENSE \
install -m 644 CODING_STYLE COPYING{,.LIB} HACKING LICENSE \
MAINTAINERS README $PKG/usr/doc/$NAME
# Install Udev rule for KVM access

Loading…
Cancel
Save