diff options
| author | Michael Forney <mforney@mforney.org> | 2018-04-10 13:24:26 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2018-05-10 12:17:02 -0700 |
| commit | e2522b737e6be889c7c3aa4eeb2523f326218b63 (patch) | |
| tree | 873b8f665ce4df1b16776ee19ed3866b50fee183 /pkg/flex/gen.lua | |
| parent | e0928eea498362478f693ae87e08b29ed0222c8c (diff) | |
Add flex 2.6.4
This is required to build linux 4.16 and later.
Diffstat (limited to 'pkg/flex/gen.lua')
| -rw-r--r-- | pkg/flex/gen.lua | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkg/flex/gen.lua b/pkg/flex/gen.lua new file mode 100644 index 00000000..e7cd4408 --- /dev/null +++ b/pkg/flex/gen.lua @@ -0,0 +1,33 @@ +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' |
