opkg

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

gen.lua (335B)


      1 cflags({
      2 	'-std=c99', '-Wall',
      3 	'-isystem $builddir/pkg/libs/netbsd-curses/include',
      4 })
      5 
      6 pkg.hdrs = copy('$outdir/include', '$srcdir', {'termkey.h'})
      7 pkg.deps = {'pkg/libs/netbsd-curses/headers'}
      8 
      9 lib('libtermkey.a', {
     10 	'termkey.c',
     11 	'driver-csi.c',
     12 	'driver-ti.c',
     13 	'$builddir/pkg/libs/netbsd-curses/libcurses.a.d',
     14 })
     15 
     16 fetch('curl')