easyblock = 'ConfigureMake'

name = "QEMU"
version = "2.1.2"

homepage = 'http://wiki.qemu.org/Main_Page'
description = """QEMU is a generic and open source machine emulator and
virtualizer."""

configopts = "--target-list=x86_64-softmmu,x86_64-linux-user,i386-softmmu,i386-linux-user"

toolchain = {'name': 'GCC', 'version': '4.4.7-system'}

sources = [SOURCELOWER_TAR_BZ2]
source_urls = ['http://wiki.qemu-project.org/download/']

builddependencies = []

patches = ['qemu-slirp-smb.patch']

sanity_check_paths = {
    'files': ['bin/qemu-x86_64'],
    'dirs': ['bin', 'etc', 'share'],
}

moduleclass = 'tools'
