opkg

statically linked package installer
git clone anongit@rnpnr.xyz:opkg.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

gen.lua (337B)


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