[oe] [PATCH] hubbub: add recipe for version 0.0.1

Tom Rini trini at embeddedalley.com
Sat May 23 20:53:53 UTC 2009


On Sun, May 24, 2009 at 12:35:19AM +0400, Dmitry Artamonow wrote:

> Hubbub is an HTML5 compliant parsing library, written in C.
> Currently only Netsurf browser is using it, so we build just static library.
> 
> Signed-off-by: Dmitry Artamonow <mad_soft at inbox.ru>

Acked-by: Tom Rini <trini at embeddedalley.com>

> ---
>  recipes/netsurf/hubbub_0.0.1.bb |   28 ++++++++++++++++++++++++++++
>  1 files changed, 28 insertions(+), 0 deletions(-)
>  create mode 100644 recipes/netsurf/hubbub_0.0.1.bb
> 
> diff --git a/recipes/netsurf/hubbub_0.0.1.bb b/recipes/netsurf/hubbub_0.0.1.bb
> new file mode 100644
> index 0000000..0d70b41
> --- /dev/null
> +++ b/recipes/netsurf/hubbub_0.0.1.bb
> @@ -0,0 +1,28 @@
> +DESCRIPTION = "Hubbub is an HTML5 compliant parsing library"
> +HOMEPAGE = "http://www.netsurf-browser.org/projects/hubbub/"
> +SECTION = "libs"
> +PRIORITY = "optional"
> +LICENSE = "MIT"
> +DEPENDS = "libparserutils"
> +
> +SRC_URI = "http://www.netsurf-browser.org/projects/releases/hubbub-${PV}-src.tar.gz"
> +
> +inherit pkgconfig
> +
> +EXTRA_OEMAKE = "CURDIR=${S} DESTDIR=${D} PREFIX=${prefix} BUILDDIR=build-OE"
> +
> +# NOTE: we're using default buildmode here, which results in building only
> +# static libraries (.a) Not a problem as hubbub is only used by Netsurf
> +# at the moment
> +
> +do_stage() {
> +        oe_libinstall -a -C build-OE/ libhubbub ${STAGING_LIBDIR}
> +
> +        install -d ${STAGING_INCDIR}/hubbub
> +        install -m 0644 include/hubbub/*.h ${STAGING_INCDIR}/hubbub
> +}
> +
> +
> +do_install() {
> +	oe_runmake install
> +}
> -- 
> 1.6.0.6
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> 

-- 
Tom Rini




More information about the Openembedded-devel mailing list