summaryrefslogtreecommitdiff
path: root/pkg/bzip2/gen.lua
blob: d4b56ee65da827563c38ee9c22e839b615b46e01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
cflags{'-Wall', '-Winline'}

lib('libbz2.a', {
	'blocksort.c',
	'huffman.c',
	'crctable.c',
	'randtable.c',
	'compress.c',
	'decompress.c',
	'bzlib.c'
})
exe('bzip2', {'bzip2.c', 'libbz2.a'})

file('bin/bzip2', '755', '$outdir/bzip2')
man{'man/bzip2.1'}
sym('bin/bzcat', 'bzip2')

fetch 'git'