logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

gen.lua (337B)


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