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"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;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
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)