1cflags{'-Wall'}
2
3pkg.hdrs = copy('$outdir/include', '$srcdir', {'bzlib.h'})
4
5lib('libbz2.a', {
6 'blocksort.c',
7 'huffman.c',
8 'crctable.c',
9 'randtable.c',
10 'compress.c',
11 'decompress.c',
12 'bzlib.c'
13})
14exe('bzip2', {'bzip2.c', 'libbz2.a'})
15
16file('bin/bzip2', '755', '$outdir/bzip2')
17man{'bzip2.1'}
18sym('bin/bzcat', 'bzip2')
19
20fetch 'git'