easyblock = 'MakeCp' name = 'IOzone' version = '3.434' homepage = 'http://www.iozone.org/' description = """ IOzone is a filesystem benchmark tool. The benchmark generates and measures a variety of file operations. Iozone has been ported to many machines and runs under many operating systems. """ toolchain = {'name': 'foss', 'version': '2016a'} sources = ['%(namelower)s%(version_major)s_%(version_minor)s.tar'] source_urls = ['http://www.iozone.org/src/current/'] prebuildopts = 'cd src/current &&' buildopts = 'linux-AMD64' files_to_copy = [ (['src/current/iozone'], 'bin'), (['src/current/%s' % docfile for docfile in ['gengnuplot.sh', 'report.pl', 'Changes.txt']], 'share/doc'), (['src/current/%s' % docfile for docfile in ['gengnuplot.sh', 'Generate_Graphs', 'gnu3d.dem']], 'share'), (['docs/iozone.1'], 'share/man/man1'), (['docs/%s' % docfile for docfile in ['IOzone_msword_98.doc', 'IOzone_msword_98.pdf', 'Iozone_ps.gz', 'Run_rules.doc']], 'share/doc'), ] sanity_check_paths = { 'files': ['bin/iozone'], 'dirs': ['bin', 'share/doc', 'share/man'] } moduleclass = 'tools'