blob: 8c2edcd3443484149c0773df1cf02577d3680675 (
plain)
1 # Description: Fast CPU emulator and virtualizer for all supported platforms
2 # URL: http://www.qemu-project.org/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: libusb linux-pam util-linux glib ninja libsdl2 xorg-libpixman libxkbcommon
5 # Optional: libseccomp libiscsi usbredir spice
6
7 name=qemu-all
8 version=6.1.0
9 release=1
10 source=(http://www.qemu-project.org//download/qemu-$version.tar.xz
11 qemu-man-$version.tar.xz)
12
13 build() {
14
15 cd qemu-$version
16
17 ./configure \
18 --prefix=/usr \
19 --cc="${CC:=gcc}" \
20 --host-cc="${CC:=gcc}" \
21 --sysconfdir=/etc \
22 --disable-docs \
23 --libexecdir=/usr/lib/qemu \
24 --disable-gtk \
25 --localstatedir=/var \
26 --python=/usr/bin/python3
27
28 make ${MAKEFLAGS:=}
29 make DESTDIR=$PKG install
30
31 cp -r $SRC/man $PKG/usr/share
32
33 install -d $PKG/etc/udev/rules.d/
34 echo 'KERNEL=="kvm", NAME="kvm", OWNER="root", GROUP="kvm", MODE="0660"' > \
35 $PKG/etc/udev/rules.d/60-kvm.rules
36
37 rm -rf $PKG/usr/share/locale
38 }
|