enhance(main/rtorrent): Build with libxmlrpc

This commit is contained in:
Biswapriyo Nath 2024-04-20 08:34:56 +00:00 committed by Chongyun Lee
parent 7269f6c2b0
commit 17b19d5494
1 changed files with 10 additions and 2 deletions

View File

@ -3,8 +3,16 @@ TERMUX_PKG_DESCRIPTION="Ncurses BitTorrent client based on libTorrent"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.9.8
TERMUX_PKG_REVISION=2
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://github.com/rakshasa/rtorrent/releases/download/v${TERMUX_PKG_VERSION}/rtorrent-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=9edf0304bf142215d3bc85a0771446b6a72d0ad8218efbe184b41e4c9c7542af
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="libc++, libcurl, libtorrent, ncurses"
TERMUX_PKG_DEPENDS="libc++, libcurl, libtorrent, libxmlrpc, ncurses"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--with-xmlrpc-c
"
# error: no member named 'bind2nd' in namespace 'std'
termux_step_pre_configure() {
CXXFLAGS+=" -std=c++11"
}