[oe] [PATCH] add nzbget and libpar2

Henning Heinold heinold at inf.fu-berlin.de
Thu Sep 3 11:31:50 UTC 2009


On Wed, Sep 02, 2009 at 09:48:46PM +0200, Artur Wronowski wrote:
> Hello!
> 
> This is my first patch to openembedded. I woud like add nzbget and libpar2.
> 
> +inherit autotools pkgconfig
> +
> +do_stage() {
> +	autotools_stage_all
> +}
> +

You can use autotools_stage here, do avoid the extrad do_stage


> diff --git a/recipes/nzbget/nzbget_0.6.0.bb b/recipes/nzbget/nzbget_0.6.0.bb
> new file mode 100644
> index 0000000..1f75124
> --- /dev/null
> +++ b/recipes/nzbget/nzbget_0.6.0.bb
> @@ -0,0 +1,22 @@
> +DESCRIPTION = "NZBGet is a command-line based binary newsgrabber for nzb files, written in C++"
> +SECTION = "net"
> +LICENSE = "GPL"
> +HOMEPAGE = "http://nzbget.sourceforge.net/Main_Page"
> +DEPENDS = "libsigc++-2.0 libpar2 ncurses libxml2"
> +
> +SRC_URI = "${SOURCEFORGE_MIRROR}/nzbget/nzbget-stable/nzbget-${PV}.tar.gz"
> +# http://sourceforge.net/projects/nzbget/files/nzbget-stable/nzbget-0.6.0.tar.gz
> +
> +inherit autotools pkgconfig
> +
> +EXTRA_OECONF = "--disable-tls \

Why is tls disabled here?

> +		--with-libcurses-libraries=${STAGING_LIBDIR} \
> +		--with-libcurses-includes=${STAGING_INCDIR} \
> +		--with-libpar2-includes={STAGING_INCDIR} \
> +		--with-libpar2-libraries={STAGING_INCDIR}"
> +
> +do_stage() {
> +	autotools_stage_all
> +}

autotools_stage again

> diff --git a/recipes/nzbget/nzbget_0.7.0-testing.bb b/recipes/nzbget/nzbget_0.7.0-testing.bb
> new file mode 100644
> index 0000000..e0f9b5c
> --- /dev/null
> +++ b/recipes/nzbget/nzbget_0.7.0-testing.bb
> @@ -0,0 +1,23 @@
> +DESCRIPTION = "NZBGet is a command-line based binary newsgrabber for nzb files, written in C++"
> +SECTION = "net"
> +LICENSE = "GPL"
> +HOMEPAGE = "http://nzbget.sourceforge.net/Main_Page"
> +DEPENDS = "libsigc++-2.0 libpar2 ncurses libxml2"
> +
> +SRC_URI = "${SOURCEFORGE_MIRROR}/nzbget/nzbget-stable/nzbget-${PV}-r342.tar.gz"
> +
> +# http://sourceforge.net/projects/nzbget/files/nzbget-testing/nzbget-0.7.0-testing-r342.tar.gz
> +
> +inherit autotools pkgconfig
> +
> +EXTRA_OECONF = "--disable-tls \
> +		--with-libcurses-libraries=${STAGING_LIBDIR} \
> +		--with-libcurses-includes=${STAGING_INCDIR} \
> +		--with-libpar2-includes={STAGING_INCDIR} \
> +		--with-libpar2-libraries={STAGING_INCDIR}"
> +
> +do_stage() {
> +	autotools_stage_all
> +}
> +

Bye Henning




More information about the Openembedded-devel mailing list