custom_blfs_packages/networking/netlibs/libtorrent-rasterbar.xml
2024-03-07 17:22:43 +01:00

122 lines
3.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libtorrent-rasterbar-download-http "https://github.com/arvidn/libtorrent/releases/download/v2.0.10/libtorrent-rasterbar-2.0.10.tar.gz">
<!ENTITY libtorrent-rasterbar-download-ftp " ">
<!ENTITY libtorrent-rasterbar-md5sum " ">
<!ENTITY libtorrent-rasterbar-size "4.2 MB">
<!ENTITY libtorrent-rasterbar-buildsize "150 MB">
<!ENTITY libtorrent-rasterbar-time "1.5 SBU (using parallelism=4)">
]>
<sect1 id="libtorrent-rasterbar" xreflabel="libtorrent-&libtorrent-rasterbar-version;">
<?dbhtml filename="libtorrent-rasterbar.html"?>
<title>libtorrent-&libtorrent-rasterbar-version;</title>
<indexterm zone="libtorrent-rasterbar">
<primary sortas="a-libtorrent">libtorrent</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libtorrent</title>
<para>
<application>libtorrent</application> is a feature complete C++ bittorrent implementation focusing on efficiency and scalability. It runs on embedded devices as well as desktops. It boasts a well documented library interface that is easy to use. It comes with a simple bittorrent client demonstrating the use of the library.
</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&libtorrent-rasterbar-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libtorrent-rasterbar-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &libtorrent-rasterbar-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &libtorrent-rasterbar-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &libtorrent-rasterbar-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &libtorrent-rasterbar-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libtorrent Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="boost"/>, and
</para>
</sect2>
<sect2 role="installation">
<title>Installation of libtorrent</title>
<para>
Install <application>libtorrent</application> by running the
following commands:
</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=17 -G Ninja .. &amp;&amp;
ninja</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>cmake --install .</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
libtorrent-rasterbar
</seg>
<seg>
None
</seg>
<seg>
/usr/share/libtorrent-rasterbar
</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>