mirror of
https://github.com/oasislinux/oasis.git
synced 2026-05-12 21:34:47 +02:00
18 lines
454 B
Lua
18 lines
454 B
Lua
cflags{
|
|
'-std=c99',
|
|
'-Wall', '-Wpedantic',
|
|
string.format([[-D 'PKG_CONFIG_PREFIX="%s"']], config.prefix),
|
|
[[-D 'PKG_CONFIG_SYSTEM_INCLUDE_PATH=PKG_CONFIG_PREFIX "/include"']],
|
|
[[-D 'PKG_CONFIG_SYSTEM_LIBRARY_PATH=PKG_CONFIG_PREFIX "/lib"']],
|
|
}
|
|
|
|
exe('u-config', {'main_posix.c'})
|
|
|
|
file('bin/u-config', '755', '$outdir/u-config')
|
|
man{'u-config.1'}
|
|
|
|
sym('bin/pkg-config', 'u-config')
|
|
sym('share/man/man1/pkg-config.1.gz', 'u-config.1.gz')
|
|
|
|
fetch 'git'
|