# IT4Innovations 2019

easyblock = 'ConfigureMake'

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

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

toolchain = {'name': 'system', 'version': ''}

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

skipsteps = ['configure']

start_dir = 'squashfs-tools'

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

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

moduleclass = 'devel'
