easyblock = 'ConfigureMake'

name = 'libzip'
version = '1.2.0'

homepage = 'https://nih.at/libzip/'
description = """libzip is a C library for reading, creating, and modifying zip archives. 
Files can be added from data buffers, files, or compressed data copied directly from other 
zip archives. Changes made without closing the archive can be reverted. The API is documented 
by man pages."""

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

source_urls = ['https://nih.at/libzip']
sources = ['%(name)s-%(version)s.tar.gz']

sanity_check_paths = {
    'files': ['bin/zipcmp', 'bin/zipmerge', 'bin/ziptool'],
    'dirs': ['bin', 'include', 'lib', 'share'],
}

moduleclass = 'lib'
