SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "rtorrent"

# SliTaz package receipt.

PACKAGE="rtorrent"
VERSION="0.9.8"
CATEGORY="network"
TAGS="torrent"
SHORT_DESC="Ncurses based torrent client."
MAINTAINER="mimas@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://rakshasa.github.io/rtorrent/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/rakshasa/$PACKAGE/releases/download/v$VERSION/$TARBALL"

DEPENDS="gcc83-lib-base libtorrent ncurses ncursesw xmlrpc-c zlib"
BUILD_DEPENDS="curl-dev gcc83 libsigc++-dev libtorrent libtorrent-dev
    ncurses-dev pkg-config xmlrpc-c-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        CC=gcc-83        \
        CXX=g++-83        \
        --with-xmlrpc-c        \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
}
5935 packages and 845883 files in cooking database (Sun Jun 2 00:46:56 2024)