wok annotate rtorrent/receipt @ rev 25697

dool: reduced size of package
author Hans-G?nter Theisgen
date Sun May 12 07:10:04 2024 +0100 (4 months ago)
parents e645edfd38fc
children
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@25601 19 # What is the latest version available today?
pascal@24055 20 current_version()
pascal@24055 21 {
pascal@25601 22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@25601 23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 24 }
pascal@24055 25
mimas@2018 26 # Rules to configure and make the package.
mimas@2018 27 compile_rules()
mimas@2018 28 {
Hans-G?nter@25291 29 ./configure \
Hans-G?nter@25291 30 CC=gcc-83 \
Hans-G?nter@25291 31 CXX=g++-83 \
Hans-G?nter@25291 32 --with-xmlrpc-c \
pascal@2446 33 $CONFIGURE_ARGS &&
Hans-G?nter@25291 34 make &&
Hans-G?nter@25291 35 make install
mimas@2018 36 }
mimas@2018 37
mimas@2018 38 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2018 39 genpkg_rules()
mimas@2018 40 {
Hans-G?nter@25291 41 cook_copy_folders bin
mimas@2018 42 }