depot: recipe for pcre library

Issue #2446
This commit is contained in:
Stefan Kalkowski 2017-10-23 11:01:13 +02:00 committed by Christian Helmuth
parent 2116bcf733
commit 61739de2f4
8 changed files with 63 additions and 3 deletions

View File

@ -1,5 +1,3 @@
include $(REP_DIR)/lib/import/import-pcre.mk
PCRE_PORT_DIR := $(call select_from_ports,pcre)
SRC_C = pcre_byte_order.c \
@ -23,7 +21,8 @@ SRC_C = pcre_byte_order.c \
pcre_version.c \
pcre_xclass.c
INC_DIR += $(PCRE_PORT_DIR)/src/lib/pcre \
INC_DIR += $(PCRE_PORT_DIR)/include/pcre \
$(PCRE_PORT_DIR)/src/lib/pcre \
$(REP_DIR)/src/lib/pcre/include
CC_OPT += -DHAVE_CONFIG_H

View File

@ -0,0 +1,26 @@
pcre_callout B 8
pcre_compile2 T
pcre_compile T
pcre_config T
pcre_copy_named_substring T
pcre_copy_substring T
pcre_dfa_exec T
pcre_exec T
pcre_free D 8
pcre_free_study T
pcre_free_substring_list T
pcre_free_substring T
pcre_fullinfo T
pcre_get_named_substring T
pcre_get_stringnumber T
pcre_get_stringtable_entries T
pcre_get_substring_list T
pcre_get_substring T
pcre_maketables T
pcre_malloc D 8
pcre_pattern_to_host_byte_order T
pcre_refcount T
pcre_stack_free D 8
pcre_stack_malloc D 8
pcre_study T
pcre_version T

View File

@ -0,0 +1,14 @@
content: include lib/symbols/pcre LICENCE
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/pcre)
include:
mkdir $@
cp -r $(PORT_DIR)/include/pcre/* $@/
lib/symbols/pcre:
$(mirror_from_rep_dir)
LICENCE:
cp $(PORT_DIR)/src/lib/pcre/LICENCE $@

View File

@ -0,0 +1 @@
2017-10-23-a a63a1a5995d1831d6efe3e580f42fb6ccf40a5ab

View File

@ -0,0 +1 @@
pcre

View File

@ -0,0 +1,16 @@
content: src/lib/pcre lib/mk/pcre.mk LICENCE
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/pcre)
src/lib/pcre:
mkdir -p $@
cp -a $(PORT_DIR)/src/lib/pcre/* $@
cp -a $(REP_DIR)/src/lib/pcre/* $@
echo "LIBS = pcre" > $@/target.mk
lib/mk/pcre.mk:
$(mirror_from_rep_dir)
LICENCE:
cp $(PORT_DIR)/src/lib/pcre/LICENCE $@

View File

@ -0,0 +1 @@
2017-11-02 d96fa844173f4724152070d7cd654309e5e213bc

View File

@ -0,0 +1,2 @@
libc
so