easyblock = 'ConfigureMake'

name = "Wine"
version = "1.7.29"

homepage = 'https://www.winehq.org'
description = """Wine (originally an acronym for "Wine Is Not an Emulator") 
is a compatibility layer capable of running Windows applications on several 
POSIX-compliant operating systems, such as Linux, Mac OSX, & BSD."""

configopts = "--enable-win64"

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

sources = [SOURCELOWER_TAR_BZ2]
source_urls = ['http://ftp.winehq.org/pub/%(namelower)s/source/%(version_major_minor)s/']

sanity_check_paths = {
    'files': ['bin/wine64'],
    'dirs': ['bin', 'include', 'share'],
}

moduleclass = 'tools'
