opkg

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

gen.lua (216B)


      1 cflags({
      2 	'-std=c99', '-Wall', '-Wpedantic',
      3 	'-D _POSIX_C_SOURCE=200809L',
      4 	'-I $srcdir',
      5 })
      6 
      7 pkg.hdrs = copy('$outdir/include/libutp', '$srcdir', {'utp.h'})
      8 
      9 lib('libutp.a', {'utp.c', 'utp_utils.c'})
     10 
     11 fetch('git')