void-packages/srcpkgs/qemu/template

52 lines
1.6 KiB
Plaintext
Raw Normal View History

# Template file for 'qemu'
pkgname=qemu
2011-12-16 14:52:06 +01:00
version=1.0
revision=1
2011-08-11 09:50:41 +02:00
distfiles="http://wiki.qemu.org/download/qemu-${version}.tar.gz"
build_style=configure
2011-12-16 14:52:06 +01:00
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>"
2011-08-11 09:50:41 +02:00
homepage="http://qemu.org"
license="GPL-2, LGPL-2.1"
2011-12-16 14:52:06 +01:00
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).
2011-08-11 09:50:41 +02:00
By using dynamic translation, it achieves very good performances."
conf_files="/etc/qemu/target-${XBPS_MACHINE}.conf"
2010-10-26 03:24:18 +02:00
nostrip=yes
2011-12-16 14:52:06 +01:00
Add_dependency build perl ">=0"
Add_dependency build python ">=0"
2010-10-26 03:24:18 +02:00
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
2012-01-31 01:04:37 +01:00
Add_dependency build libsasl-devel
2011-02-17 16:51:32 +01:00
Add_dependency build spice-devel
2011-08-11 09:50:41 +02:00
Add_dependency build glib-devel
Add_dependency build MesaLib-devel
2011-12-16 14:52:06 +01:00
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
}