wok annotate rtorrent/receipt @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (23 months ago)
parents 5ea0ce1cecc0
children e645edfd38fc
rev   line source
mimas@2018 1 # SliTaz package receipt.
mimas@2018 2
mimas@2018 3 PACKAGE="rtorrent"
pascal@21555 4 VERSION="0.9.7"
mimas@2018 5 CATEGORY="network"
mimas@2018 6 SHORT_DESC="Ncurses based torrent client"
mimas@2018 7 MAINTAINER="mimas@slitaz.org"
pascal@15593 8 LICENSE="GPL2"
mimas@2018 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@21786 10 WEB_SITE="https://github.com/rakshasa/rtorrent/"
pascal@21555 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
jozee@4972 12 TAGS="torrent"
mimas@2018 13
pascal@24086 14 DEPENDS="ncurses libtorrent zlib ncursesw xmlrpc-c gcc83-lib-base"
slaxemulator@11157 15 BUILD_DEPENDS="ncurses-dev libtorrent-dev libtorrent pkg-config xmlrpc-c-dev \
pascal@24086 16 libsigc++-dev curl-dev automake libtool gcc83"
slaxemulator@11157 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
mimas@2018 24 # Rules to configure and make the package.
mimas@2018 25 compile_rules()
mimas@2018 26 {
pascal@24086 27 export CC=gcc-83
pascal@24086 28 export CXX=g++-83
pascal@24086 29
pascal@21555 30 ./autogen.sh
mimas@2018 31 ./configure \
slaxemulator@11157 32 --with-xmlrpc-c \
pascal@2446 33 $CONFIGURE_ARGS &&
slaxemulator@11157 34 make && 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 {
mimas@2018 40 mkdir -p $fs/usr
slaxemulator@11157 41 cp -a $install/usr/bin $fs/usr
mimas@2018 42 }