I was able to compile it and install from inside termux by simply:
$ git clone https://github.com/rakshasa/libtorrent
$ cd libtorrent
$ ./autogen.sh
$ ./configure --prefix=/data/data/com.termux/files/usr/
$ make -j8
$ make install
Compiling it directly from the source requires the automake, autoconf and libtool in order to run the autogen.sh. In case of compiling one of the releases tarball, the configure script will already be present.
Package description
Yet another torrent library to be used by bittorrent clients (such as rtorrent). Not to be confused with libtorrent-rasterbar #3327
Link to home page and sources
Additional information
I was able to compile it and install from inside termux by simply:
Compiling it directly from the source requires the
automake
,autoconf
andlibtool
in order to run theautogen.sh
. In case of compiling one of the releases tarball, theconfigure
script will already be present.These are the libs it depends upon:
Everything I tested so far is working as expected. This is the list of files added to the system when installed:
Here's the Ubuntu package page: https://packages.ubuntu.com/eoan/libtorrent20