vp-build/srcpkgs/rtorrent/template

21 lines
699 B
Bash

# Template file for 'rtorrent'
pkgname=rtorrent
version=0.9.7
revision=3
build_style=gnu-configure
configure_args="--with-xmlrpc-c"
hostmakedepends="automake libtool pkg-config"
makedepends="cppunit-devel libsigc++-devel libtorrent-devel ncurses-devel
xmlrpc-c-devel"
short_desc="Ncurses BitTorrent client based on libTorrent"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="https://github.com/rakshasa/rtorrent"
distfiles="https://github.com/rakshasa/${pkgname}/archive/v${version}.tar.gz"
checksum=5a7c9ded6b92d5ffc5ae32c19816f2328848d70841a4ce7d2739a5024d3587ca
pre_configure() {
autoreconf -fi
sed -e 's,test "$cross_compiling" = yes, false,' -i configure
}