summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndraž Levstik2009-05-03 12:52:07 +0200
committerAndraž Levstik2009-05-03 12:52:07 +0200
commitf7894e04e0626337164bbb734875a27039339ccb (patch)
treea73b9494f105ebb217504b60b77968f42cc0e848
parent7aa9c52c0465a9a610e3d134c50de8d12bbb4a52 (diff)
http/libparserutils/: new spell, a library for building efficient parsers
-rw-r--r--ChangeLog1
-rwxr-xr-xhttp/libparserutils/BUILD1
-rwxr-xr-xhttp/libparserutils/DETAILS20
-rw-r--r--http/libparserutils/HISTORY3
-rwxr-xr-xhttp/libparserutils/INSTALL1
-rwxr-xr-xhttp/libparserutils/PREPARE3
-rwxr-xr-xhttp/libparserutils/PRE_BUILD3
7 files changed, 32 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 891ac2c9d2..7da2c92a35 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,5 @@
2009-05-03 Andraž "ruskie" Levstik <ruskie+f03a580f@codemages.net>
+ * http/libparserutils/: new spell, a library for building efficient parsers
* http/libnsgif/: new spell, a decoding library for the GIF image file format
* http/libnsbmp/: new spell, a decoding library for BMP and ICO image file formats
* http/libcss/: new spell, a CSS parser and selection engine
diff --git a/http/libparserutils/BUILD b/http/libparserutils/BUILD
new file mode 100755
index 0000000000..5dce820742
--- /dev/null
+++ b/http/libparserutils/BUILD
@@ -0,0 +1 @@
+make PREFIX=${INSTALL_ROOT}/usr COMPONENT_TYPE=lib-shared
diff --git a/http/libparserutils/DETAILS b/http/libparserutils/DETAILS
new file mode 100755
index 0000000000..4e504748eb
--- /dev/null
+++ b/http/libparserutils/DETAILS
@@ -0,0 +1,20 @@
+ SPELL=libparserutils
+if [[ $LIBPARSERUTILS_AUTO == y ]]; then
+ VERSION=$(date +%Y%d%m)
+else
+ VERSION=scm
+fi
+ SOURCE="${SPELL}-scm.tar.bz2"
+ SOURCE_URL[0]=svn://svn.netsurf-browser.org/trunk/${SPELL}:${SPELL}-scm
+ FORCE_DOWNLOAD=on
+ SOURCE_IGNORE=volatile
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
+ WEB_SITE="http://www.netsurf-browser.org/projects/libparserutils/"
+ LICENSE[0]=MIT
+ ENTERED=20090429
+ SHORT="a library for building efficient parsers"
+cat << EOF
+LibParserUtils is a library for building efficient parsers, written
+in C. It was developed as part of the NetSurf project and is available
+for use by other software under the MIT licence.
+EOF
diff --git a/http/libparserutils/HISTORY b/http/libparserutils/HISTORY
new file mode 100644
index 0000000000..805a53227c
--- /dev/null
+++ b/http/libparserutils/HISTORY
@@ -0,0 +1,3 @@
+2009-04-29 Andraž "ruskie" Levstik <ruskie+f03a580f@codemages.net>
+ * BUILD, DETAILS: spell created
+
diff --git a/http/libparserutils/INSTALL b/http/libparserutils/INSTALL
new file mode 100755
index 0000000000..f25ca1ed8e
--- /dev/null
+++ b/http/libparserutils/INSTALL
@@ -0,0 +1 @@
+make PREFIX=${INSTALL_ROOT}/usr COMPONENT_TYPE=lib-shared install
diff --git a/http/libparserutils/PREPARE b/http/libparserutils/PREPARE
new file mode 100755
index 0000000000..bafffa3749
--- /dev/null
+++ b/http/libparserutils/PREPARE
@@ -0,0 +1,3 @@
+config_query LIBPARSERUTILS_AUTO \
+ "Automaticaly update the spell on sorcery queue/system-update?" \
+ "n"
diff --git a/http/libparserutils/PRE_BUILD b/http/libparserutils/PRE_BUILD
new file mode 100755
index 0000000000..479cf79e32
--- /dev/null
+++ b/http/libparserutils/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+echo "CFLAGS += -DWITH_ICONV_FILTER" > build/Makefile.config.override