summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-06-04 21:14:07 -0700
committerMichael Forney <mforney@mforney.org>2016-06-04 21:14:07 -0700
commite6b127e22a2b7d34e2bf46331c1b0bfa9848da1e (patch)
treeb07ec9b8f2a1f44ce602e347ebcb9f1078bac0b5
parentc8c64ead4d464efeab643d98e208184bba1f8935 (diff)
Add pcre 8.38
-rw-r--r--extra/gen.rc1
-rw-r--r--extra/pcre/config.h64
l---------extra/pcre/fetch.rc1
-rw-r--r--extra/pcre/gen.rc39
-rw-r--r--extra/pcre/sha2561
-rw-r--r--extra/pcre/url1
-rw-r--r--gen.rc1
7 files changed, 108 insertions, 0 deletions
diff --git a/extra/gen.rc b/extra/gen.rc
new file mode 100644
index 00000000..027edd62
--- /dev/null
+++ b/extra/gen.rc
@@ -0,0 +1 @@
+subgen pcre
diff --git a/extra/pcre/config.h b/extra/pcre/config.h
new file mode 100644
index 00000000..074bd129
--- /dev/null
+++ b/extra/pcre/config.h
@@ -0,0 +1,64 @@
+#include <config-posix.h>
+
+/* #undef BSR_ANYCRLF */
+/* #undef EBCDIC */
+/* #undef EBCDIC_NL25 */
+#define HAVE_BCOPY 1
+/* #undef HAVE_BITS_TYPE_TRAITS_H */
+/* #undef HAVE_BZLIB_H */
+/* #undef HAVE_EDITLINE_READLINE_H */
+/* #undef HAVE_EDIT_READLINE_READLINE_H */
+#define HAVE_LONG_LONG 1
+#define HAVE_MEMORY_H 1
+#define HAVE_PTHREAD 1
+#define HAVE_PTHREAD_PRIO_INHERIT 1
+/* #undef HAVE_READLINE_HISTORY_H */
+/* #undef HAVE_READLINE_READLINE_H */
+#define HAVE_STRING 1
+/* #undef HAVE_STRTOQ */
+/* #undef HAVE_TYPE_TRAITS_H */
+#define HAVE_UNSIGNED_LONG_LONG 1
+#define HAVE_VISIBILITY 1
+/* #undef HAVE_WINDOWS_H */
+/* #undef HAVE_ZLIB_H */
+/* #undef HAVE__STRTOI64 */
+#define LINK_SIZE 2
+#define LT_OBJDIR ".libs/"
+#define MATCH_LIMIT 10000000
+#define MATCH_LIMIT_RECURSION MATCH_LIMIT
+#define MAX_NAME_COUNT 10000
+#define MAX_NAME_SIZE 32
+#define NEWLINE 10
+/* #undef NO_RECURSE */
+#define PACKAGE "pcre"
+#define PACKAGE_BUGREPORT ""
+#define PACKAGE_NAME "PCRE"
+#define PACKAGE_STRING "PCRE 8.38"
+#define PACKAGE_TARNAME "pcre"
+#define PACKAGE_URL ""
+#define PACKAGE_VERSION "8.38"
+#define PARENS_NEST_LIMIT 250
+#define PCRECPP_EXP_DECL extern __attribute__ ((visibility ("default")))
+#define PCRECPP_EXP_DEFN __attribute__ ((visibility ("default")))
+#define PCREGREP_BUFSIZE 20480
+#define PCREPOSIX_EXP_DECL extern __attribute__ ((visibility ("default")))
+#define PCREPOSIX_EXP_DEFN extern __attribute__ ((visibility ("default")))
+#define PCRE_EXP_DATA_DEFN __attribute__ ((visibility ("default")))
+#define PCRE_EXP_DECL extern __attribute__ ((visibility ("default")))
+#define PCRE_EXP_DEFN __attribute__ ((visibility ("default")))
+#define PCRE_STATIC 1
+#define POSIX_MALLOC_THRESHOLD 10
+/* #undef PTHREAD_CREATE_JOINABLE */
+#define SUPPORT_JIT /**/
+/* #undef SUPPORT_LIBBZ2 */
+/* #undef SUPPORT_LIBEDIT */
+/* #undef SUPPORT_LIBREADLINE */
+/* #undef SUPPORT_LIBZ */
+/* #undef SUPPORT_PCRE16 */
+/* #undef SUPPORT_PCRE32 */
+#define SUPPORT_PCRE8 /**/
+#define SUPPORT_PCREGREP_JIT /**/
+/* #undef SUPPORT_UCP */
+#define SUPPORT_UTF /**/
+/* #undef SUPPORT_VALGRIND */
+#define VERSION "8.38"
diff --git a/extra/pcre/fetch.rc b/extra/pcre/fetch.rc
new file mode 120000
index 00000000..221da00d
--- /dev/null
+++ b/extra/pcre/fetch.rc
@@ -0,0 +1 @@
+../../util/fetch-curl.rc \ No newline at end of file
diff --git a/extra/pcre/gen.rc b/extra/pcre/gen.rc
new file mode 100644
index 00000000..7e9ddfd8
--- /dev/null
+++ b/extra/pcre/gen.rc
@@ -0,0 +1,39 @@
+cflags\
+ -D HAVE_CONFIG_H\
+ -I include\
+ -I '$dir' \
+ -I '$srcdir' \
+ -I '$outdir'/include
+
+exprs=(\
+ -e s,@PCRE_MAJOR@,8,\
+ -e s,@PCRE_MINOR@,38,\
+ -e s,@PCRE_PRERELEASE@,,\
+ -e s,@PCRE_DATE@,2015-11-23,\
+) let expr $"exprs -- build '$outdir'/include/pcre.h sed '$srcdir'/pcre.h.in
+
+phony headers '$outdir'/include/pcre.h
+
+build '$outdir'/pcre_chartables.c copy '$srcdir'/pcre_chartables.c.dist
+lib libpcre.a -d 'phony/$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
diff --git a/extra/pcre/sha256 b/extra/pcre/sha256
new file mode 100644
index 00000000..9d9c3907
--- /dev/null
+++ b/extra/pcre/sha256
@@ -0,0 +1 @@
+9883e419c336c63b0cb5202b09537c140966d585e4d0da66147dc513da13e629 pcre-8.38.tar.gz
diff --git a/extra/pcre/url b/extra/pcre/url
new file mode 100644
index 00000000..52492647
--- /dev/null
+++ b/extra/pcre/url
@@ -0,0 +1 @@
+url = "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.38.tar.gz"
diff --git a/gen.rc b/gen.rc
index 56cf97b8..1987e5bb 100644
--- a/gen.rc
+++ b/gen.rc
@@ -1,6 +1,7 @@
subgen core
subgen desktop
subgen devel
+subgen extra
file .perms '$outdir'/root.perms 644