diff --git a/repos/libports/lib/mk/pcre16.mk b/repos/libports/lib/mk/pcre16.mk index deb8a9793..21e6b8ed5 100644 --- a/repos/libports/lib/mk/pcre16.mk +++ b/repos/libports/lib/mk/pcre16.mk @@ -1,4 +1,4 @@ -include $(REP_DIR)/lib/import/import-pcre.mk +include $(call select_from_repositories,lib/import/import-pcre.mk) PCRE_PORT_DIR := $(call select_from_ports,pcre) diff --git a/repos/libports/lib/symbols/pcre16 b/repos/libports/lib/symbols/pcre16 new file mode 100644 index 000000000..0426d4a8c --- /dev/null +++ b/repos/libports/lib/symbols/pcre16 @@ -0,0 +1,50 @@ +_pcre16_OP_lengths R 156 +_pcre16_default_tables R 1088 +_pcre16_find_bracket T +_pcre16_is_newline T +_pcre16_ord2utf T +_pcre16_strcmp_uc_c8 T +_pcre16_strcmp_uc_uc T +_pcre16_strlen_uc T +_pcre16_strncmp_uc_c8 T +_pcre16_strncmp_uc_uc T +_pcre16_ucd_records R 8 +_pcre16_ucd_stage1 R 1 +_pcre16_ucd_stage2 R 2 +_pcre16_ucp_gentype R 120 +_pcre16_utt R 828 +_pcre16_utt_names R 965 +_pcre16_utt_size R 4 +_pcre16_valid_utf T +_pcre16_was_newline T +_pcre16_xclass T +pcre16_assign_jit_stack T +pcre16_callout B 8 +pcre16_compile T +pcre16_compile2 T +pcre16_config T +pcre16_copy_named_substring T +pcre16_copy_substring T +pcre16_dfa_exec T +pcre16_exec T +pcre16_free D 8 +pcre16_free_study T +pcre16_free_substring T +pcre16_free_substring_list T +pcre16_fullinfo T +pcre16_get_named_substring T +pcre16_get_stringnumber T +pcre16_get_stringtable_entries T +pcre16_get_substring T +pcre16_get_substring_list T +pcre16_jit_stack_alloc T +pcre16_jit_stack_free T +pcre16_maketables T +pcre16_malloc D 8 +pcre16_pattern_to_host_byte_order T +pcre16_refcount T +pcre16_stack_free D 8 +pcre16_stack_malloc D 8 +pcre16_study T +pcre16_utf16_to_host_byte_order T +pcre16_version T diff --git a/repos/libports/recipes/api/pcre16/content.mk b/repos/libports/recipes/api/pcre16/content.mk new file mode 100644 index 000000000..55a139a44 --- /dev/null +++ b/repos/libports/recipes/api/pcre16/content.mk @@ -0,0 +1,18 @@ +MIRROR_FROM_REP_DIR := lib/import/import-pcre.mk \ + lib/symbols/pcre16 + +content: $(MIRROR_FROM_REP_DIR) + +$(MIRROR_FROM_REP_DIR): + $(mirror_from_rep_dir) + +content: include LICENCE + +PORT_DIR := $(call port_dir,$(REP_DIR)/ports/pcre) + +include: + mkdir $@ + cp -r $(PORT_DIR)/include/pcre/* $@/ + +LICENCE: + cp $(PORT_DIR)/src/lib/pcre/LICENCE $@ diff --git a/repos/libports/recipes/api/pcre16/hash b/repos/libports/recipes/api/pcre16/hash new file mode 100644 index 000000000..67b412a7e --- /dev/null +++ b/repos/libports/recipes/api/pcre16/hash @@ -0,0 +1 @@ +2018-04-16 31e7253c0903f3179fdc907a7712ed0a1ce4685c diff --git a/repos/libports/recipes/src/pcre16/api b/repos/libports/recipes/src/pcre16/api new file mode 100644 index 000000000..37fb23e9a --- /dev/null +++ b/repos/libports/recipes/src/pcre16/api @@ -0,0 +1 @@ +pcre16 diff --git a/repos/libports/recipes/src/pcre16/content.mk b/repos/libports/recipes/src/pcre16/content.mk new file mode 100644 index 000000000..3bd3eabc1 --- /dev/null +++ b/repos/libports/recipes/src/pcre16/content.mk @@ -0,0 +1,15 @@ +content: src/lib/pcre lib/mk/pcre16.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 = pcre16" > $@/target.mk + +lib/mk/pcre16.mk: + $(mirror_from_rep_dir) + +LICENCE: + cp $(PORT_DIR)/src/lib/pcre/LICENCE $@ diff --git a/repos/libports/recipes/src/pcre16/hash b/repos/libports/recipes/src/pcre16/hash new file mode 100644 index 000000000..817772f9b --- /dev/null +++ b/repos/libports/recipes/src/pcre16/hash @@ -0,0 +1 @@ +2018-04-16 00963c1be14c2b9fdf105b31f1b60d74cfd9dec3 diff --git a/repos/libports/recipes/src/pcre16/used_apis b/repos/libports/recipes/src/pcre16/used_apis new file mode 100644 index 000000000..dccf4f6fb --- /dev/null +++ b/repos/libports/recipes/src/pcre16/used_apis @@ -0,0 +1,2 @@ +base +libc