opkg

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

gen.lua (563B)


      1 cflags({
      2 	'-D HAVE_CONFIG_H',
      3 	([[-D 'SYSCONFDIR="%s/etc"']]):format(config.prefix),
      4 	'-I $dir',
      5 	'-isystem $builddir/pkg/libs/libtls-bearssl/include',
      6 })
      7 
      8 pkg.deps = {
      9 	'pkg/libs/libtls-bearssl/headers',
     10 }
     11 
     12 exe('msmtp', [[
     13 	src/(
     14 		conf.c
     15 		eval.c
     16 		list.c
     17 		md5.c
     18 		md5-apps.c
     19 		msgid.c
     20 		msmtp.c
     21 		net.c
     22 		netrc.c
     23 		readbuf.c
     24 		smtp.c
     25 		stream.c
     26 		tools.c
     27 		xalloc.c
     28 		aliases.c
     29 		password.c
     30 		base64.c
     31 
     32 		mtls.c
     33 		mtls-libtls.c
     34 	)
     35 	$builddir/pkg/libs/libtls-bearssl/libtls.a.d
     36 ]])
     37 
     38 file('bin/msmtp', '755', '$outdir/msmtp')
     39 man({'doc/msmtp.1'})
     40 
     41 fetch('git')