[oe] [PATCH] add nzbget and libpar2

Artur Wronowski arteqw at gmail.com
Thu Sep 3 20:09:04 UTC 2009


Thanks Henning for you help.

 I send fixed patch with SSL support for nntp servers. I hope that is
better patch than my first ;-)

2009/9/3 Henning Heinold <heinold at inf.fu-berlin.de>:
> 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
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
Pozdrawiam, Artur
http://artekw.net / GG: 151817 / JID: artekw at jabberpl.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nzbget_and_dep_latest.patch
Type: text/x-patch
Size: 3416 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090903/73ece618/attachment-0002.bin>


More information about the Openembedded-devel mailing list