Files
oasis-linux-mirror/pkg/flex/gen.lua
Michael Forney e2522b737e Add flex 2.6.4
This is required to build linux 4.16 and later.
2018-05-10 12:17:02 -07:00

34 lines
354 B
Lua

cflags{
'-D HAVE_CONFIG_H',
'-I $dir',
}
exe('flex', [[src/(
buf.c
ccl.c
dfa.c
ecs.c
filter.c
gen.c
main.c
misc.c
nfa.c
options.c
parse.c
regex.c
scan.c
scanflags.c
scanopt.c
skel.c
sym.c
tables.c
tables_shared.c
tblcmp.c
yylex.c
)]])
file('bin/flex', '755', '$outdir/flex')
sym('bin/lex', 'flex')
man{'doc/flex.1'}
fetch 'curl'