summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-10-09 02:25:30 +0000
committerJay Freeman <saurik@saurik.com>2008-10-09 02:25:30 +0000
commit33f17a17ad36a8d5bc64543419dedc4e61802140 (patch)
tree3e3c20d2ff13d61251acf1f3bc70fbca41daf1e7 /data
parent42b6b18f10af9125d3891ca3573be6dcaba4e0f6 (diff)
Finally figured out PCRE for lighttpd.
git-svn-id: http://svn.telesphoreo.org/trunk@489 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data')
-rw-r--r--data/lighttpd/_metadata/depiction1
-rw-r--r--data/lighttpd/_metadata/homepage1
l---------data/lighttpd/_metadata/libxml2.dep1
l---------data/lighttpd/_metadata/sqlite3.dep1
-rw-r--r--data/lighttpd/make.sh3
-rw-r--r--data/lighttpd/pcre.diff23
6 files changed, 29 insertions, 1 deletions
diff --git a/data/lighttpd/_metadata/depiction b/data/lighttpd/_metadata/depiction
new file mode 100644
index 000000000..228c6bd4d
--- /dev/null
+++ b/data/lighttpd/_metadata/depiction
@@ -0,0 +1 @@
+http://cydia.saurik.com/info/lighttpd/
diff --git a/data/lighttpd/_metadata/homepage b/data/lighttpd/_metadata/homepage
new file mode 100644
index 000000000..f19d7a675
--- /dev/null
+++ b/data/lighttpd/_metadata/homepage
@@ -0,0 +1 @@
+http://www.lighttpd.net/
diff --git a/data/lighttpd/_metadata/libxml2.dep b/data/lighttpd/_metadata/libxml2.dep
new file mode 120000
index 000000000..076284360
--- /dev/null
+++ b/data/lighttpd/_metadata/libxml2.dep
@@ -0,0 +1 @@
+../../libxml2 \ No newline at end of file
diff --git a/data/lighttpd/_metadata/sqlite3.dep b/data/lighttpd/_metadata/sqlite3.dep
new file mode 120000
index 000000000..071b20780
--- /dev/null
+++ b/data/lighttpd/_metadata/sqlite3.dep
@@ -0,0 +1 @@
+../../sqlite3 \ No newline at end of file
diff --git a/data/lighttpd/make.sh b/data/lighttpd/make.sh
index e073d2c18..ec4b81037 100644
--- a/data/lighttpd/make.sh
+++ b/data/lighttpd/make.sh
@@ -1,4 +1,5 @@
pkg:setup
-pkg:configure --libdir=/usr/lib/lighttpd --with-bz2 --with-pcre
+autoconf
+PCRE_LIB=-lpcre pkg:configure --libdir=/usr/lib/lighttpd --with-bz2 --with-webdav-locks --with-webdav-props
make
pkg:install
diff --git a/data/lighttpd/pcre.diff b/data/lighttpd/pcre.diff
new file mode 100644
index 000000000..11cf2da07
--- /dev/null
+++ b/data/lighttpd/pcre.diff
@@ -0,0 +1,23 @@
+diff -ru lighttpd-1.4.18/configure.in lighttpd-1.4.18+iPhone/configure.in
+--- lighttpd-1.4.18/configure.in 2007-08-29 00:49:56.000000000 +0000
++++ lighttpd-1.4.18+iPhone/configure.in 2008-10-09 02:21:21.000000000 +0000
+@@ -259,15 +259,16 @@
+ CPPFLAGS="$CPPFLAGS `$PCRECONFIG --cflags`"
+ OLDLIBS="$LIBS"
+ LIBS="$LIBS $PCRE_LIB"
++ LIBS="$OLDLIBS"
++ fi
++fi
++
+ AC_CHECK_LIB(pcre, pcre_compile, [
+ AC_CHECK_HEADERS([pcre.h], [
+ AC_DEFINE([HAVE_LIBPCRE], [1], [libpcre])
+ AC_DEFINE([HAVE_PCRE_H], [1])
+ ])
+ ])
+- LIBS="$OLDLIBS"
+- fi
+-fi
+
+ AC_SUBST(PCRE_LIB)
+