wok view rtorrent/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (10 months ago)
parents e645edfd38fc
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 CC=gcc-83 \
31 CXX=g++-83 \
32 --with-xmlrpc-c \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_folders bin
42 }