wok-6.x view rtorrent/receipt @ rev 24262

updated perl-text-template (1.58 -> 1.60)
author Hans-G?nter Theisgen
date Sun Jan 02 10:18:15 2022 +0100 (2022-01-02)
parents 5ea0ce1cecc0
children e645edfd38fc
line source
1 # SliTaz package receipt.
3 PACKAGE="rtorrent"
4 VERSION="0.9.7"
5 CATEGORY="network"
6 SHORT_DESC="Ncurses based torrent client"
7 MAINTAINER="mimas@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/rakshasa/rtorrent/"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
12 TAGS="torrent"
14 DEPENDS="ncurses libtorrent zlib ncursesw xmlrpc-c gcc83-lib-base"
15 BUILD_DEPENDS="ncurses-dev libtorrent-dev libtorrent pkg-config xmlrpc-c-dev \
16 libsigc++-dev curl-dev automake libtool gcc83"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export CC=gcc-83
28 export CXX=g++-83
30 ./autogen.sh
31 ./configure \
32 --with-xmlrpc-c \
33 $CONFIGURE_ARGS &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 }