Termux-packages: Package request: libtorrent-rasterbar

Created on 9 Feb 2019  路  3Comments  路  Source: termux/termux-packages

Package description
libtorrent is a feature complete C++ bittorrent implementation focusing on efficiency and scalability. It runs on embedded devices as well as desktops. This is the missing piece needed to run deluged on Termux.

Link to home page and sources

  1. Home page: https://www.libtorrent.org/
  2. Source code: https://github.com/arvidn/libtorrent

Additional information
Have you compiled or tried to compile the package on device?

  • I'm having trouble getting the build environment container running on my MacBook and have not been able to try building this.
package request

Most helpful comment

"on device" means in Termux btw.

All 3 comments

"on device" means in Termux btw.

Any progress?

Yes. This lib has libboost as dependence, so first step is to install it. Then run the usual cmake, make, make install:

$ pkg install boost
$ git clone https://github.com/arvidn/libtorrent.git
$ mkdir libtorrent/build
$ cd libtorrent/build
$ cmake -DCMAKE_INSTALL_PREFIX=/data/data/com.termux/files/usr ..
$ make -j8
$ make install

Bear in mind that cmake doesn't generate a uninstall target in the Makefile by default, so to eventually uninstall it you should use the generated install_manifest.txt by running xargs rm < install_manifest.txt instead of make uninstall

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tigran123 picture tigran123  路  3Comments

loveablefellow007 picture loveablefellow007  路  3Comments

StephanBeer picture StephanBeer  路  3Comments

GuGuss picture GuGuss  路  4Comments

Wetitpig picture Wetitpig  路  3Comments