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


  1. cflags{
  2. '-std=c99',
  3. '-Wall', '-Wpedantic',
  4. string.format([[-D 'PKG_CONFIG_PREFIX="%s"']], config.prefix),
  5. [[-D 'PKG_CONFIG_SYSTEM_INCLUDE_PATH=PKG_CONFIG_PREFIX "/include"']],
  6. [[-D 'PKG_CONFIG_SYSTEM_LIBRARY_PATH=PKG_CONFIG_PREFIX "/lib"']],
  7. }
  8. exe('u-config', {'main_posix.c'})
  9. file('bin/u-config', '755', '$outdir/u-config')
  10. man{'u-config.1'}
  11. sym('bin/pkg-config', 'u-config')
  12. sym('share/man/man1/pkg-config.1.gz', 'u-config.1.gz')
  13. fetch 'git'