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


  1. cflags{
  2. '-D HAVE_CONFIG_H',
  3. '-I $dir',
  4. '-I $srcdir',
  5. '-I $outdir/include',
  6. }
  7. build('sed', '$outdir/include/pcre.h', '$srcdir/pcre.h.in', {
  8. expr={
  9. '-e s,@PCRE_MAJOR@,8,',
  10. '-e s,@PCRE_MINOR@,43,',
  11. '-e s,@PCRE_PRERELEASE@,,',
  12. '-e s,@PCRE_DATE@,2019-02-23,',
  13. },
  14. })
  15. pkg.hdrs = {'$outdir/include/pcre.h'}
  16. build('copy', '$outdir/pcre_chartables.c', '$srcdir/pcre_chartables.c.dist')
  17. lib('libpcre.a', {
  18. 'pcre_byte_order.c',
  19. 'pcre_compile.c',
  20. 'pcre_config.c',
  21. 'pcre_dfa_exec.c',
  22. 'pcre_exec.c',
  23. 'pcre_fullinfo.c',
  24. 'pcre_get.c',
  25. 'pcre_globals.c',
  26. 'pcre_jit_compile.c',
  27. 'pcre_maketables.c',
  28. 'pcre_newline.c',
  29. 'pcre_ord2utf8.c',
  30. 'pcre_refcount.c',
  31. 'pcre_string_utils.c',
  32. 'pcre_study.c',
  33. 'pcre_tables.c',
  34. 'pcre_ucd.c',
  35. 'pcre_valid_utf8.c',
  36. 'pcre_version.c',
  37. 'pcre_xclass.c',
  38. '$outdir/pcre_chartables.c',
  39. }, {'$gendir/headers'})
  40. fetch 'curl'