summaryrefslogtreecommitdiffstats
path: root/package/pcre
diff options
context:
space:
mode:
authorJohn Voltz <john.voltz@gmail.com>2008-04-24 16:56:06 +0000
committerJohn Voltz <john.voltz@gmail.com>2008-04-24 16:56:06 +0000
commit3dfdc141809e2552dc8a558f72c3a6f0e30936f1 (patch)
tree438d11ec6b42cf334e23e6cf679a7af03a26f5dc /package/pcre
parent676797d57f33fbe9d5adc81932847154ebd1ce93 (diff)
downloadbuildroot-novena-3dfdc141809e2552dc8a558f72c3a6f0e30936f1.tar.gz
buildroot-novena-3dfdc141809e2552dc8a558f72c3a6f0e30936f1.zip
add pcre
Diffstat (limited to 'package/pcre')
-rw-r--r--package/pcre/Config.in5
-rw-r--r--package/pcre/pcre.mk18
2 files changed, 23 insertions, 0 deletions
diff --git a/package/pcre/Config.in b/package/pcre/Config.in
new file mode 100644
index 000000000..d26a2715a
--- /dev/null
+++ b/package/pcre/Config.in
@@ -0,0 +1,5 @@
+config BR2_PACKAGE_PCRE
+ bool "pcre"
+ default n
+ help
+ Perl Compatible Regular Expressions
diff --git a/package/pcre/pcre.mk b/package/pcre/pcre.mk
new file mode 100644
index 000000000..f6f7003d0
--- /dev/null
+++ b/package/pcre/pcre.mk
@@ -0,0 +1,18 @@
+#############################################################
+#
+# PCRE
+#
+#############################################################
+PCRE_VERSION = 7.6
+PCRE_SOURCE = pcre-$(PCRE_VERSION).tar.bz2
+PCRE_SITE = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre
+PCRE_INSTALL_STAGING = YES
+PCRE_INSTALL_TARGET = YES
+
+PCRE_CONF_OPT = --target=$(GNU_TARGET_NAME) --host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) --prefix=/usr \
+ --includedir=/usr/include
+
+PCRE_DEPENDENCIES = uclibc
+
+$(eval $(call AUTOTARGETS,package,pcre))