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 (491B)


  1. cflags{
  2. '-std=c99', '-Wall', '-Wpedantic',
  3. '-I $srcdir',
  4. '-I $builddir/pkg/bearssl/include',
  5. }
  6. pkg.deps = {'pkg/bearssl/headers'}
  7. pkg.hdrs = copy('$outdir/include', '$srcdir', {'x509cert.h'})
  8. lib('libx509cert.a', {
  9. 'cert.c',
  10. 'der.c',
  11. 'dn.c',
  12. 'dn_string.c',
  13. 'oid.c',
  14. 'pkey.c',
  15. 'req.c',
  16. 'san.c',
  17. 'sign.c',
  18. '$builddir/pkg/bearssl/libbearssl.a',
  19. })
  20. exe('x509cert', {'x509cert.c', 'libx509cert.a.d'})
  21. file('bin/x509cert', '755', '$outdir/x509cert')
  22. man{'x509cert.1'}
  23. fetch 'git'