name = 'bzip2'
version = '1.0.6'

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

toolchain = {'name': 'system', 'version': ''}
toolchainopts = {'pic': True}

sources = [SOURCE_TAR_GZ]
source_urls = ['http://www.bzip.org/%(version)s/']

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'
