summaryrefslogtreecommitdiff
path: root/pkg/flex/gen.lua
blob: e7cd44089406a7f2eb68d4345db1c4de379a9593 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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'