logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

gen.lua (469B)


  1. cflags{
  2. '-std=c11', '-Wall', '-Wpedantic',
  3. '-D _POSIX_C_SOURCE=200809L',
  4. '-isystem $builddir/pkg/bearssl/include',
  5. }
  6. pkg.deps = {
  7. 'pkg/bearssl/headers',
  8. }
  9. lib('libcommon.a', {
  10. 'base16.c',
  11. 'base64.c',
  12. 'dnssec.c',
  13. 'key.c',
  14. 'zone.c',
  15. })
  16. for _, tool in ipairs{'ds', 'dnskey', 'nsec', 'rrsig', 'tlsa'} do
  17. exe(tool, {tool..'.c', 'libcommon.a', '$builddir/pkg/bearssl/libbearssl.a'})
  18. file('bin/'..tool, '755', '$outdir/'..tool)
  19. man{tool..'.1'}
  20. end
  21. fetch 'git'