void-packages/srcpkgs/rtorrent/template

22 lines
787 B
Bash

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