summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-07-17 22:22:59 +0000
committerMichael Weber <xmw@gentoo.org>2012-07-17 22:22:59 +0000
commitc35accbb2dc54f50c98cccccb031b2966d6bd90f (patch)
tree8c5693cf88b4348abf2af7ef1d6f9bca8a266dfa /net-libs/hubbub
parentFixed build with webm USE flag being set. (bug #427016) (diff)
downloadgentoo-2-c35accbb2dc54f50c98cccccb031b2966d6bd90f.tar.gz
gentoo-2-c35accbb2dc54f50c98cccccb031b2966d6bd90f.tar.bz2
gentoo-2-c35accbb2dc54f50c98cccccb031b2966d6bd90f.zip
Initial import
(Portage version: 2.1.11.7/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/hubbub')
-rw-r--r--net-libs/hubbub/ChangeLog9
-rw-r--r--net-libs/hubbub/Manifest3
-rw-r--r--net-libs/hubbub/hubbub-0.1.2.ebuild58
-rw-r--r--net-libs/hubbub/metadata.xml9
4 files changed, 79 insertions, 0 deletions
diff --git a/net-libs/hubbub/ChangeLog b/net-libs/hubbub/ChangeLog
new file mode 100644
index 000000000000..94ca77093d22
--- /dev/null
+++ b/net-libs/hubbub/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for net-libs/hubbub
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/hubbub/ChangeLog,v 1.1 2012/07/17 22:22:59 xmw Exp $
+
+*hubbub-0.1.2 (17 Jul 2012)
+
+ 17 Jul 2012; Michael Weber <xmw@gentoo.org> +hubbub-0.1.2.ebuild,
+ +metadata.xml:
+ Initial import
diff --git a/net-libs/hubbub/Manifest b/net-libs/hubbub/Manifest
new file mode 100644
index 000000000000..77d09d0931ff
--- /dev/null
+++ b/net-libs/hubbub/Manifest
@@ -0,0 +1,3 @@
+DIST hubbub-0.1.2-src.tar.gz 812684 SHA256 95a1d5a71055b28a8e4ce4dc8516b8f0ed691c5ee03525bf73600495657f1b52 SHA512 c6fee003376a75fcca18ee630308320ae155df0149ceee48ad16bb69420c6a8a053bcfee17d6b315b137408284755028f37782d017873b16304ed041ea7934eb WHIRLPOOL 74c5038eabcf60b641a594300a551c139b4882439b08a70caaf4c22de868f7253dff4abab9eb3e517da86accc73882099ec8f854dcf37d1a7232731ba9d607bc
+EBUILD hubbub-0.1.2.ebuild 1495 SHA256 bd2784e4e28b750bd59df7372cdbd3da0d68166823de4cac586796ba5ef4369f SHA512 079c5d2f02ce0790e88fb0b254b74477367a1eae1cc65b9441b2f24c190832268f7fea1f9767ebf6c0a543b8f776f007bc59b8d853bfe5c78b4e7cc234ad7cea WHIRLPOOL 4b14041f36a3c55e71f98c31fd178a1e97f86ef1160f6d238fad0812278cf59940db70e4dbccb5868e8a4281cbb15cfa8e8a5b2e51f01e5de8cbaf8ad29caa4a
+MISC metadata.xml 224 SHA256 f810c6de744adceee241992d3f713142db3e7025986f6cc5898cfe3c9cb2f4a7 SHA512 4f78d959809ec0db2f9be2a7747d572fa8ee03d177044dd46574881a6ee83736510b76062c12daecae609282d197ba466e8a3e3a654b1383e04c659acd41bef5 WHIRLPOOL 0300a228d371c918b051bc24859dfe4e5d0d2a71b80f697f202749c5aca69efcee4be6e69454c9abfa4ced28e19a9d1f71d6d7eaf54290b8d03b5c04fd209868
diff --git a/net-libs/hubbub/hubbub-0.1.2.ebuild b/net-libs/hubbub/hubbub-0.1.2.ebuild
new file mode 100644
index 000000000000..bea845a42dc4
--- /dev/null
+++ b/net-libs/hubbub/hubbub-0.1.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/hubbub/hubbub-0.1.2.ebuild,v 1.1 2012/07/17 22:22:59 xmw Exp $
+
+EAPI=4
+
+inherit multilib
+
+DESCRIPTION="HTML5 compliant parsing library, written in C"
+HOMEPAGE="http://www.netsurf-browser.org/projects/hubbub/"
+SRC_URI="http://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm"
+IUSE="doc static-libs"
+
+RDEPEND="dev-libs/libparserutils"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ virtual/libiconv
+ doc? ( app-doc/doxygen )
+ test? ( dev-lang/perl
+ dev-libs/json-c )"
+
+# json_object_get_string_len does not exist
+RESTRICT="test"
+
+src_prepare() {
+ sed -e "/^INSTALL_ITEMS/s: /lib: /$(get_libdir):g" \
+ -e "s:-Werror::g" \
+ -i Makefile || die
+ sed -e "/^libdir/s:/lib:/$(get_libdir):g" \
+ -i lib${PN}.pc.in || die
+ echo "Q := " >> Makefile.config.override
+ echo "CC := $(tc-getCC)" >> Makefile.config.override
+ echo "AR := $(tc-getAR)" >> Makefile.config.override
+}
+
+src_compile() {
+ emake COMPONENT_TYPE=lib-shared
+ use static-libs && emake COMPONENT_TYPE=lib-static
+ use doc && emake docs
+}
+
+src_test() {
+ emake COMPONENT_TYPE=lib-shared test
+ use static-libs && emake COMPONENT_TYPE=lib-static test
+}
+
+src_install() {
+ emake COMPONENT_TYPE=lib-shared DESTDIR="${D}" PREFIX=/usr install
+ use static-libs && \
+ emake COMPONENT_TYPE=lib-static DESTDIR="${D}" PREFIX=/usr install
+
+ dodoc README docs/{Architecture,Macros,Todo,Treebuilder,Updated}
+ use doc && dohtml build/docs/html/*
+}
diff --git a/net-libs/hubbub/metadata.xml b/net-libs/hubbub/metadata.xml
new file mode 100644
index 000000000000..59acc2cc580e
--- /dev/null
+++ b/net-libs/hubbub/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
+