wok annotate rtorrent/receipt @ rev 25438
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 01 11:12:31 2022 +0000 (2022-09-01) |
parents | 9773d49d458c |
children | 0262035dc1e7 |
rev | line source |
---|---|
mimas@2018 | 1 # SliTaz package receipt. |
mimas@2018 | 2 |
mimas@2018 | 3 PACKAGE="rtorrent" |
Hans-G?nter@25291 | 4 VERSION="0.9.8" |
mimas@2018 | 5 CATEGORY="network" |
Hans-G?nter@25291 | 6 TAGS="torrent" |
Hans-G?nter@25291 | 7 SHORT_DESC="Ncurses based torrent client." |
mimas@2018 | 8 MAINTAINER="mimas@slitaz.org" |
pascal@15593 | 9 LICENSE="GPL2" |
Hans-G?nter@25291 | 10 WEB_SITE="https://rakshasa.github.io/rtorrent/" |
Hans-G?nter@25291 | 11 |
mimas@2018 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@25291 | 13 WGET_URL="https://github.com/rakshasa/$PACKAGE/releases/download/v$VERSION/$TARBALL" |
mimas@2018 | 14 |
Hans-G?nter@25291 | 15 DEPENDS="gcc83-lib-base libtorrent ncurses ncursesw xmlrpc-c zlib" |
Hans-G?nter@25291 | 16 BUILD_DEPENDS="curl-dev gcc83 libsigc++-dev libtorrent libtorrent-dev |
Hans-G?nter@25291 | 17 ncurses-dev pkg-config xmlrpc-c-dev" |
slaxemulator@11157 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
mimas@2018 | 25 # Rules to configure and make the package. |
mimas@2018 | 26 compile_rules() |
mimas@2018 | 27 { |
Hans-G?nter@25291 | 28 ./configure \ |
Hans-G?nter@25291 | 29 CC=gcc-83 \ |
Hans-G?nter@25291 | 30 CXX=g++-83 \ |
Hans-G?nter@25291 | 31 --with-xmlrpc-c \ |
pascal@2446 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@25291 | 33 make && |
Hans-G?nter@25291 | 34 make install |
mimas@2018 | 35 } |
mimas@2018 | 36 |
mimas@2018 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2018 | 38 genpkg_rules() |
mimas@2018 | 39 { |
Hans-G?nter@25291 | 40 cook_copy_folders bin |
mimas@2018 | 41 } |