wok-current view rtorrent/receipt @ rev 25383
updated units (2.19 -> 2.21)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 17:22:12 2022 +0100 (2022-07-30) |
parents | 9773d49d458c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="rtorrent"
4 VERSION="0.9.8"
5 CATEGORY="network"
6 TAGS="torrent"
7 SHORT_DESC="Ncurses based torrent client."
8 MAINTAINER="mimas@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://rakshasa.github.io/rtorrent/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/rakshasa/$PACKAGE/releases/download/v$VERSION/$TARBALL"
15 DEPENDS="gcc83-lib-base libtorrent ncurses ncursesw xmlrpc-c zlib"
16 BUILD_DEPENDS="curl-dev gcc83 libsigc++-dev libtorrent libtorrent-dev
17 ncurses-dev pkg-config xmlrpc-c-dev"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 CC=gcc-83 \
30 CXX=g++-83 \
31 --with-xmlrpc-c \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders bin
41 }