|
|
|
@ -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 |
|
|
|
|
|
|
|
|
|