# IT4Innovations 2019

name = 'bzip2'
version = '1.0.6'

homepage = 'http://departments.icmab.es/leem/siesta'
description = """bzip2 is a freely available, patent free, high-quality data local_compressor. It typically
local_compresses files to within 10% to 15% of the best available techniques (the PPM family of statistical
local_compressors), whilst being around twice as fast at local_compression and six times faster at delocal_compression."""

toolchain = SYSTEM
toolchainopts = {'pic': True}

sources = ['bzip2-1.0.6.tar.gz']
source_urls = ['https://src.fedoraproject.org/lookaside/pkgs/bzip2/bzip2-1.0.6.tar.gz/00b516f4704d4a7cb50a1d97e6e8e15b/']

buildopts = "CC=gcc CFLAGS='-Wall -Winline -O3 -fPIC -g $(BIGFILES)'"

# building of shared libraries doesn't work on OS X (where 'gcc' is
# actually Clang...)
with_shared_libs = OS_TYPE == 'Linux'

moduleclass = 'tools'
