39 lines
942 B
Plaintext
39 lines
942 B
Plaintext
# Description: Fast CPU emulator and virtualizer for all supported platforms
|
|
# URL: http://www.qemu-project.org/
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: libusb linux-pam util-linux glib ninja libsdl2 xorg-libpixman libxkbcommon
|
|
# Optional: libseccomp libiscsi usbredir spice
|
|
|
|
name=qemu-all
|
|
version=8.0.0
|
|
release=1
|
|
source=(https://download.qemu.org/qemu-$version.tar.xz
|
|
qemu-man-$version.tar.xz)
|
|
|
|
build() {
|
|
|
|
cd qemu-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--cc="${CC:=gcc}" \
|
|
--host-cc="${CC:=gcc}" \
|
|
--sysconfdir=/etc \
|
|
--disable-docs \
|
|
--libexecdir=/usr/lib/qemu \
|
|
--disable-gtk \
|
|
--localstatedir=/var \
|
|
--python=/usr/bin/python3
|
|
|
|
make ${MAKEFLAGS:=}
|
|
make DESTDIR=$PKG install
|
|
|
|
cp -r $SRC/man $PKG/usr/share
|
|
|
|
install -d $PKG/etc/udev/rules.d/
|
|
echo 'KERNEL=="kvm", NAME="kvm", OWNER="root", GROUP="kvm", MODE="0660"' > \
|
|
$PKG/etc/udev/rules.d/60-kvm.rules
|
|
|
|
rm -rf $PKG/usr/share/locale
|
|
}
|