summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndraž Levstik2009-05-03 12:52:01 +0200
committerAndraž Levstik2009-05-03 12:52:01 +0200
commita64c76e4add4cd5599a92d6e529076f00eb0fe47 (patch)
tree56ced7754f5bc1c65b6ca8551006abefb4d0b95f
parentc84887d654803c2dd55e8ccd6c4f92f4db285152 (diff)
http/hubbub/: new spell, an HTML5 compliant parsing library
-rw-r--r--ChangeLog1
-rwxr-xr-xhttp/hubbub/BUILD1
-rwxr-xr-xhttp/hubbub/DEPENDS6
-rwxr-xr-xhttp/hubbub/DETAILS25
-rw-r--r--http/hubbub/HISTORY3
-rwxr-xr-xhttp/hubbub/INSTALL1
-rwxr-xr-xhttp/hubbub/PREPARE3
7 files changed, 40 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2b18fd6c2f..c03632c88f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,5 @@
2009-05-03 Andraž "ruskie" Levstik <ruskie+f03a580f@codemages.net>
+ * http/hubbub/: new spell, an HTML5 compliant parsing library
* doc/libharu2-scm/: new spell, C/C++ library for generating PDF documents.
2009-05-02 Andraž "ruskie" Levstik <ruskie+f03a580f@codemages.net>
diff --git a/http/hubbub/BUILD b/http/hubbub/BUILD
new file mode 100755
index 0000000000..5dce820742
--- /dev/null
+++ b/http/hubbub/BUILD
@@ -0,0 +1 @@
+make PREFIX=${INSTALL_ROOT}/usr COMPONENT_TYPE=lib-shared
diff --git a/http/hubbub/DEPENDS b/http/hubbub/DEPENDS
new file mode 100755
index 0000000000..5783be028a
--- /dev/null
+++ b/http/hubbub/DEPENDS
@@ -0,0 +1,6 @@
+depends perl &&
+depends libxslt &&
+depends wget &&
+depends libparserutils &&
+optional_depends doxygen "" "" "For API docs"
+
diff --git a/http/hubbub/DETAILS b/http/hubbub/DETAILS
new file mode 100755
index 0000000000..95c88560f6
--- /dev/null
+++ b/http/hubbub/DETAILS
@@ -0,0 +1,25 @@
+ SPELL=hubbub
+if [[ $HUBBUB_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
+ SOURCE_IGNORE=volatile
+ FORCE_DOWNLOAD=on
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
+ WEB_SITE="http://www.netsurf-browser.org/projects/hubbub/"
+ LICENSE[0]=MIT
+ ENTERED=20090429
+ SHORT="an HTML5 compliant parsing library"
+cat << EOF
+Hubbub is an HTML5 compliant parsing library, written in C. It was
+developed as part of the NetSurf project and is available for use
+by other software under the MIT licence.
+
+The HTML5 specification defines a parsing algorithm, based on the
+behaviour of mainstream browsers, which provides instructions for
+how to parse all markup, both valid and invalid. As a result,
+Hubbub parses web content well.
+EOF
diff --git a/http/hubbub/HISTORY b/http/hubbub/HISTORY
new file mode 100644
index 0000000000..73965d944e
--- /dev/null
+++ b/http/hubbub/HISTORY
@@ -0,0 +1,3 @@
+2009-04-29 Andraž "ruskie" Levstik <ruskie+f03a580f@codemages.net>
+ * BUILD, DETAILS, DEPENDS, INSTALL: spell created
+
diff --git a/http/hubbub/INSTALL b/http/hubbub/INSTALL
new file mode 100755
index 0000000000..f25ca1ed8e
--- /dev/null
+++ b/http/hubbub/INSTALL
@@ -0,0 +1 @@
+make PREFIX=${INSTALL_ROOT}/usr COMPONENT_TYPE=lib-shared install
diff --git a/http/hubbub/PREPARE b/http/hubbub/PREPARE
new file mode 100755
index 0000000000..595f2d1704
--- /dev/null
+++ b/http/hubbub/PREPARE
@@ -0,0 +1,3 @@
+config_query HUBBUB_AUTO \
+ "Automaticaly update the spell on sorcery queue/system-update?" \
+ "n"