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


  1. cflags{
  2. '-I $outdir',
  3. '-I $outdir/include',
  4. }
  5. build('cat', '$outdir/jconfigint.h', {
  6. '$builddir/probe/HAVE__THREAD_LOCAL',
  7. '$builddir/probe/HAVE___BUILTIN_CTZL',
  8. '$dir/jconfigint.h',
  9. })
  10. pkg.deps = {
  11. '$gendir/headers',
  12. '$outdir/jconfigint.h',
  13. }
  14. lib('libjpeg-turbo.a', [[
  15. jcapimin.c jcapistd.c jccoefct.c jccolor.c jcdctmgr.c jchuff.c
  16. jcicc.c jcinit.c jcmainct.c jcmarker.c jcmaster.c jcomapi.c jcparam.c
  17. jcphuff.c jcprepct.c jcsample.c jctrans.c jdapimin.c jdapistd.c jdatadst.c
  18. jdatasrc.c jdcoefct.c jdcolor.c jddctmgr.c jdhuff.c jdicc.c jdinput.c
  19. jdmainct.c jdmarker.c jdmaster.c jdmerge.c jdphuff.c jdpostct.c jdsample.c
  20. jdtrans.c jerror.c jfdctflt.c jfdctfst.c jfdctint.c jidctflt.c jidctfst.c
  21. jidctint.c jidctred.c jquant1.c jquant2.c jutils.c jmemmgr.c jmemnobs.c
  22. jaricom.c jcarith.c jdarith.c jsimd_none.c
  23. ]])
  24. pkg.hdrs = {
  25. copy('$outdir/include', '$srcdir', {'jmorecfg.h', 'jpeglib.h'}),
  26. copy('$outdir/include', '$dir', {'jconfig.h'}),
  27. }
  28. fetch 'git'