# IT4Innovations 2019

easyblock = 'ConfigureMake'

name = 'squashfs-tools'
version = '4.3'

homepage = 'http://squashfs.sourceforge.net/'
description = """Squashfs is a local_compressed read-only filesystem for Linux."""

toolchain = SYSTEM

sources = ['master.zip']
source_urls = ['https://github.com/plougher/squashfs-tools/archive']
checksums = ['46f21034c3bbb6aad1792365f608c81e04149d01a46e04b3dc4153c3592eed1b']

skipsteps = ['configure']

start_dir = 'squashfs-tools'

prebuildopts = 'sed -i "s|INSTALL_PREFIX = /usr/local|INSTALL_PREFIX = %(installdir)s|g" Makefile && '

sanity_check_paths = {
    'files': ['bin/mksquashfs', 'bin/unsquashfs'],
    'dirs': [],
}

moduleclass = 'devel'
