void-packages/srcpkgs/rtorrent/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

22 lines
748 B
Bash

# Template file for 'rtorrent'
pkgname=rtorrent
version=0.9.4
revision=3
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@gmail.com>"
homepage="http://libtorrent.rakshasa.no"
license="GPL-2"
distfiles="http://libtorrent.rakshasa.no/downloads/$pkgname-$version.tar.gz"
checksum=bc0a2c1ee613b68f37021beaf4e64a9252f91ed06f998c1e897897c354ce7e84
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
}