opkg

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

gen.lua (414B)


      1 cflags({
      2 	'-Wpedantic',
      3 	([['-D PREFIX="%s"']]):format(config.prefix)
      4 })
      5 
      6 exe('rc', {
      7 	'code.c',
      8 	'exec.c',
      9 	'getflags.c',
     10 	'glob.c',
     11 	'here.c',
     12 	'io.c',
     13 	'lex.c',
     14 	'pcmd.c',
     15 	'pfnc.c',
     16 	'simple.c',
     17 	'subr.c',
     18 	'trap.c',
     19 	'tree.c',
     20 	'var.c',
     21 	'y.tab.c',
     22 	'unix.c',
     23 	'havefork.c',
     24 	'prompt-null.c',
     25 })
     26 file('bin/rc', '755', '$outdir/rc')
     27 man({'rc.1'})
     28 
     29 file('lib/rcmain', '644', '$srcdir/rcmain.unix')
     30 
     31 fetch('git')