void-packages/srcpkgs/rtorrent/template
2018-06-14 18:32:45 +02:00

20 lines
688 B
Bash

# Template file for 'rtorrent'
pkgname=rtorrent
version=0.9.7
revision=2
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"
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
}