wok diff rtorrent/receipt @ rev 25457

Normazile https://sourceforge.net/projects web_sites
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 23 08:28:09 2022 +0000 (20 months ago)
parents 9773d49d458c
children 0262035dc1e7
line diff
     1.1 --- a/rtorrent/receipt	Sat Jul 10 17:20:34 2021 +0000
     1.2 +++ b/rtorrent/receipt	Fri Sep 23 08:28:09 2022 +0000
     1.3 @@ -1,19 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="rtorrent"
     1.7 -VERSION="0.9.7"
     1.8 +VERSION="0.9.8"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Ncurses based torrent client"
    1.11 +TAGS="torrent"
    1.12 +SHORT_DESC="Ncurses based torrent client."
    1.13  MAINTAINER="mimas@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="https://rakshasa.github.io/rtorrent/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="https://github.com/rakshasa/rtorrent/"
    1.19 -WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
    1.20 -TAGS="torrent"
    1.21 +WGET_URL="https://github.com/rakshasa/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    1.22  
    1.23 -DEPENDS="ncurses libtorrent zlib ncursesw xmlrpc-c gcc83-lib-base"
    1.24 -BUILD_DEPENDS="ncurses-dev libtorrent-dev libtorrent pkg-config xmlrpc-c-dev \
    1.25 -libsigc++-dev curl-dev automake libtool gcc83"
    1.26 +DEPENDS="gcc83-lib-base libtorrent ncurses ncursesw xmlrpc-c zlib"
    1.27 +BUILD_DEPENDS="curl-dev gcc83 libsigc++-dev libtorrent libtorrent-dev
    1.28 +	ncurses-dev pkg-config xmlrpc-c-dev"
    1.29  
    1.30  current_version()
    1.31  {
    1.32 @@ -24,19 +25,17 @@
    1.33  # Rules to configure and make the package.
    1.34  compile_rules()
    1.35  {
    1.36 -	export	CC=gcc-83
    1.37 -	export	CXX=g++-83
    1.38 -
    1.39 -	./autogen.sh
    1.40 -	./configure \
    1.41 -		--with-xmlrpc-c \
    1.42 +	./configure			\
    1.43 +		CC=gcc-83		\
    1.44 +		CXX=g++-83		\
    1.45 +		--with-xmlrpc-c		\
    1.46  		$CONFIGURE_ARGS &&
    1.47 -	make && make install
    1.48 +	make &&
    1.49 +	make install
    1.50  }
    1.51  
    1.52  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.53  genpkg_rules()
    1.54  {
    1.55 -	mkdir -p $fs/usr
    1.56 -	cp -a $install/usr/bin $fs/usr
    1.57 +	cook_copy_folders	bin
    1.58  }