void-packages/srcpkgs/qemu/template

52 lines
1.6 KiB
Plaintext

# Template file for 'qemu'
pkgname=qemu
version=1.0
revision=1
distfiles="http://wiki.qemu.org/download/qemu-${version}.tar.gz"
build_style=configure
configure_args="--prefix=/usr --sysconfdir=/etc --enable-spice
--enable-kvm --audio-drv-list=alsa,sdl,pa --disable-xen"
short_desc="Open Source Processor Emulator"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://qemu.org"
license="GPL-2, LGPL-2.1"
checksum=47674b7da559d5e1b44cc401af9ac5ad962d14e9eede12567b13e4b841989737
long_desc="
QEMU is a generic and open source machine emulator and virtualizer.
When used as a machine emulator, QEMU can run OSes and programs made for
one machine (e.g. an ARM board) on a different machine (e.g. your own PC).
By using dynamic translation, it achieves very good performances."
conf_files="/etc/qemu/target-${XBPS_MACHINE}.conf"
nostrip=yes
Add_dependency build perl ">=0"
Add_dependency build python ">=0"
Add_dependency build attr-devel
Add_dependency build libpng-devel
Add_dependency build jpeg-devel
Add_dependency build zlib-devel
Add_dependency build ncurses-devel
Add_dependency build libuuid-devel
Add_dependency build libX11-devel
Add_dependency build alsa-lib-devel
Add_dependency build gnutls-devel
Add_dependency build SDL-devel
Add_dependency build libbluetooth-devel
Add_dependency build libsasl-devel
Add_dependency build spice-devel
Add_dependency build glib-devel
Add_dependency build MesaLib-devel
Add_dependency build pulseaudio-devel
Add_dependency build nss-devel
Add_dependency build libcurl-devel
pre_configure() {
sed -i -e 's/lib64/lib/g' x86_64.ld
}
post_install() {
vinstall ${FILESDIR}/65-kvm.rules 644 lib/udev/rules.d
}