2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: QEMU, iyi öykünme hızı elde etmek için dinamik çeviri kullanan bir işlemci öykünücüsüdür (PC, PowerPC, PowerMac, güneş, Mips, ARM vb.)
|
2017-07-03 07:44:05 +02:00
|
|
|
|
# URL: http://www.qemu.org
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: gtk2 gtk3 sdl glib python vte vte3 xorg-mesa nss lzo cyrus-sasl alsa-lib alsa-plugins alsa-utils curl check bluez ncurses nfs-utils libgcrypt libcap-ng gnutls libusb bzip2 usbutils bridge-utils
|
2016-03-18 03:14:06 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=qemu-all
|
|
|
|
|
surum=2.6.0
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(http://wiki.qemu.org/download/qemu-$surum.tar.bz2)
|
2016-03-18 03:14:06 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2016-03-18 03:14:06 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd qemu-$surum
|
2016-03-18 03:14:06 +01:00
|
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--cc="${CC:=gcc}" \
|
|
|
|
|
--host-cc="${CC:=gcc}" \
|
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
|
--disable-docs \
|
|
|
|
|
--libexecdir=/usr/lib/qemu \
|
|
|
|
|
--disable-gtk \
|
|
|
|
|
--localstatedir=/var
|
|
|
|
|
|
2017-04-13 14:53:02 +02:00
|
|
|
|
# Düzeltme, libcap ile ilgili sorunları içerir
|
2016-03-18 03:14:06 +01:00
|
|
|
|
sed -i -e '/#include "qemu\/xattr.h"/d' \
|
|
|
|
|
-e 's|#include <sys/resource.h>|#include <sys/resource.h>\r\n#include "qemu\/xattr.h"|g' \
|
|
|
|
|
fsdev/virtfs-proxy-helper.c
|
|
|
|
|
|
|
|
|
|
make ${MAKEFLAGS:=}
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
|
|
make qemu.1 qemu-img.1 qemu-nbd.8
|
|
|
|
|
install -D -m 644 qemu.1 $PKG/usr/share/man1/qemu.1
|
|
|
|
|
install -D -m 644 qemu-img.1 $PKG/usr/share/man1/qemu-img.1
|
|
|
|
|
install -D -m 644 qemu-nbd.8 $PKG/usr/share/man8/qemu-nbd.8
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
}
|