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

Michael Lippautz michael.lippautz at gmail.com
Wed May 5 07:29:34 UTC 2010


> diff --git a/recipes/libtorrent/libtorrent_0.12.6.bb b/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"
> +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.

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.

Regards,
Michael




More information about the Openembedded-devel mailing list