From e2522b737e6be889c7c3aa4eeb2523f326218b63 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Tue, 10 Apr 2018 13:24:26 -0700 Subject: Add flex 2.6.4 This is required to build linux 4.16 and later. --- pkg/flex/gen.lua | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkg/flex/gen.lua (limited to 'pkg/flex/gen.lua') 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' -- cgit v1.2.3