void-packages/srcpkgs/qemu/template

59 lines
2.1 KiB
Text

# Template file for 'qemu'
pkgname=qemu
version=0.13.0
revision=1
distfiles="http://download.savannah.gnu.org/releases/qemu/qemu-$version.tar.gz"
build_style=configure
configure_args="--prefix=/usr --enable-sdl --sysconfdir=/etc
--enable-curses --disable-curl --enable-bluez --enable-io-thread
--enable-kvm --enable-nptl --enable-uuid --enable-mixemu --disable-vnc-sasl
--audio-drv-list=oss,alsa,sdl --audio-card-list=ac97,sb16,es1370,adlib
--kerneldir=/usr/include"
short_desc="Open Source Processor Emulator"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=1e6f5851b05cea6e377c835f4668408d4124cfb845f9948d922808743c5fd877
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.
When used as a virtualizer, QEMU achieves near native performances by
executing the guest code directly on the host CPU. A host driver called the
QEMU accelerator (also known as KQEMU) is needed in this case. The
virtualizer mode requires that both the host and guest machine use x86
compatible processors."
conf_files="/etc/qemu/target-${xbps_machine}.conf"
nostrip=yes
disable_parallel_build=yes
Add_dependency run glibc
Add_dependency run alsa-lib
Add_dependency run gnutls
Add_dependency run libbluetooth
Add_dependency run libidn
Add_dependency run libssl
Add_dependency run zlib
Add_dependency run ncurses-libs
Add_dependency run libuuid
Add_dependency run libX11
Add_dependency run attr
Add_dependency run libpng
Add_dependency run jpeg
Add_dependency run SDL
Add_dependency build attr-devel
Add_dependency build libpng-devel
Add_dependency build jpeg-devel
Add_dependency build libidn-devel
Add_dependency build openssl-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