summaryrefslogtreecommitdiff
path: root/pkg/bzip2/gen.lua
blob: 1f20577366295bda693bf1d040b2360e3037c0c1 (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{'bzip2.1'}
sym('bin/bzcat', 'bzip2')

fetch 'git'