[oe] [PATCH] libtorrent / rtorrent: add latest upstream versions and fix crash on nslu2

Hans Henry von Tresckow hvontres at gmail.com
Wed May 5 07:40:37 UTC 2010


On Wed, May 5, 2010 at 12:29 AM, Michael Lippautz <
michael.lippautz at gmail.com> wrote:

> > diff --git a/recipes/libtorrent/libtorrent_0.12.6.bbb/recipes/libtorrent/
> libtorrent_0.12.6.bb
> > new file mode 100644
> > index 0000000..075ce40
> > --- /dev/null
> > +++ b/recipes/libtorrent/libtorrent_0.12.6.bb
> > @@ -0,0 +1,22 @@
> > +DESCRIPTION = "library implementing the bittorrent protocol"
> > +HOMEPAGE = "http://libtorrent.rakshasa.no"
> > +SECTION = "libs/network"
> > +LICENSE = "GPL"
> > +DEPENDS = "libsigc++-2.0 openssl"
> > +
> > +SRC_URI = "
> http://libtorrent.rakshasa.no/downloads/libtorrent-${PV}.tar.gz<http://libtorrent.rakshasa.no/downloads/libtorrent-$%7BPV%7D.tar.gz>
> "
> > +PR = "r0.1"
> > +
> > +inherit autotools pkgconfig
> > +
> > +EXTRA_OECONF = "--enable-aligned"
> > +
> > +FULL_OPTIMIZATION_nslu2 ="-mcpu=xscale -fexpensive-optimizations
> -frename-registers -O2 -fpermissive -fno-inline"
> > +
> > +do_stage() {
> > +       autotools_stage_all
>
> 1) No need for further dividing PR into subnumbers, r0 is sufficient.
>

Thanks for catching that... left over from testing...

>
> 2) On .dev your do not need to stage (mostly) anymore. If autotools
> installs everything correctly you can just dismiss the do_stage()
> routine. If something is missing, then install it via
> do_install_append in the appropriate folder and OE will determine that
> it needs to be staged. depending on the files' paths.
>

Ok. I just copied the older revisinons. I'll chek on that tomorrow

>
> Regards,
> Michael
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
Henry von Tresckow (hvontres)



More information about the Openembedded-devel mailing list