diff options
| author | Michael Forney <mforney@mforney.org> | 2017-09-17 00:03:34 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2017-09-25 19:23:06 -0700 |
| commit | ba94a8513d9a0aadb3f2c834c74b64aa644c61e8 (patch) | |
| tree | 48ac6c85baa7b9d960b9e1e726a906e61ca60967 /pkg/bzip2/gen.lua | |
| parent | cb362b531d79708a259bbf070dee5104fd63df08 (diff) | |
Rewrite ninja generation scripts in Lua
Diffstat (limited to 'pkg/bzip2/gen.lua')
| -rw-r--r-- | pkg/bzip2/gen.lua | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkg/bzip2/gen.lua b/pkg/bzip2/gen.lua new file mode 100644 index 00000000..533328b9 --- /dev/null +++ b/pkg/bzip2/gen.lua @@ -0,0 +1,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 'curl' |
