summaryrefslogtreecommitdiff
path: root/pkg/pcre/gen.rc
blob: 6064222d243008035edeb350d8859526493867e1 (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
34
35
36
37
38
39
40
41
cflags\
	-D HAVE_CONFIG_H\
	-I include\
	-I '$dir' \
	-I '$srcdir' \
	-I '$outdir'/include

build '$outdir'/include/pcre.h sed '$srcdir'/pcre.h.in ; exprs=(\
	-e s,@PCRE_MAJOR@,8,\
	-e s,@PCRE_MINOR@,39,\
	-e s,@PCRE_PRERELEASE@,,\
	-e s,@PCRE_DATE@,2016-06-14,\
) with expr $"exprs

phony headers '$outdir'/include/pcre.h

build '$outdir'/pcre_chartables.c copy '$srcdir'/pcre_chartables.c.dist
lib libpcre.a -d '$dir'/headers\
	pcre_byte_order.c\
	pcre_compile.c\
	pcre_config.c\
	pcre_dfa_exec.c\
	pcre_exec.c\
	pcre_fullinfo.c\
	pcre_get.c\
	pcre_globals.c\
	pcre_jit_compile.c\
	pcre_maketables.c\
	pcre_newline.c\
	pcre_ord2utf8.c\
	pcre_refcount.c\
	pcre_string_utils.c\
	pcre_study.c\
	pcre_tables.c\
	pcre_ucd.c\
	pcre_valid_utf8.c\
	pcre_version.c\
	pcre_xclass.c\
	'$outdir'/pcre_chartables.c

fetch curl