opkg

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

gen.lua (434B)


      1 cflags{
      2 	'-include $dir/config.h',
      3 	'-I $srcdir',
      4 	'-isystem $builddir/pkg/bzip2/include',
      5 }
      6 
      7 pkg.deps = {'pkg/bzip2/headers'}
      8 
      9 exe('unzip', [[
     10         unzip.c crc32.c crypt.c envargs.c explode.c
     11 	extract.c fileio.c globals.c inflate.c list.c match.c
     12 	process.c ttyio.c ubz2err.c unreduce.c unshrink.c zipinfo.c
     13 	unix/unix.c
     14 	$builddir/pkg/bzip2/libbz2.a
     15 ]])
     16 file('bin/unzip', '755', '$outdir/unzip')
     17 man{'man/unzip.1'}
     18 
     19 fetch 'curl'