2011-06-20 21:35:25 +02:00
|
|
|
# Template file for 'rtorrent'
|
|
|
|
pkgname=rtorrent
|
2014-06-16 12:36:39 +02:00
|
|
|
version=0.9.4
|
2014-06-25 09:29:29 +02:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-06-25 09:29:29 +02:00
|
|
|
configure_args="--with-xmlrpc-c"
|
2014-02-02 12:09:43 +01:00
|
|
|
hostmakedepends="automake libtool pkg-config"
|
2014-06-25 09:29:29 +02:00
|
|
|
makedepends="libcurl-devel libsigc++-devel libtorrent-devel>=0.13.4 ncurses-devel xmlrpc-c-devel"
|
2011-06-20 21:35:25 +02:00
|
|
|
short_desc="Ncurses BitTorrent client based on libTorrent"
|
2011-07-17 08:27:36 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-20 22:37:11 +02:00
|
|
|
homepage="http://libtorrent.rakshasa.no"
|
|
|
|
license="GPL-2"
|
2012-07-22 12:39:23 +02:00
|
|
|
distfiles="http://libtorrent.rakshasa.no/downloads/$pkgname-$version.tar.gz"
|
2014-06-16 12:36:39 +02:00
|
|
|
checksum=bc0a2c1ee613b68f37021beaf4e64a9252f91ed06f998c1e897897c354ce7e84
|
2013-03-25 18:27:07 +01:00
|
|
|
|
|
|
|
pre_configure() {
|
2014-06-16 12:36:39 +02:00
|
|
|
# Drop cppunit requirement
|
|
|
|
sed '/AM_PATH_CPPUNIT.*/d' -i configure.ac
|
2013-03-25 18:27:07 +01:00
|
|
|
autoreconf -fi
|
2014-06-16 12:36:39 +02:00
|
|
|
sed -e 's,test "$cross_compiling" = yes, false,' -i configure
|
2013-03-25 18:27:07 +01:00
|
|
|
}
|