26 lines
795 B
Bash
26 lines
795 B
Bash
# Template file for 'rtorrent'
|
|
pkgname=rtorrent
|
|
version=0.9.8
|
|
revision=3
|
|
build_style=gnu-configure
|
|
configure_args="--with-xmlrpc-c"
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="libcppunit-devel libsigc++-devel libtorrent-devel ncurses-devel
|
|
xmlrpc-c-devel"
|
|
short_desc="Ncurses BitTorrent client based on libTorrent"
|
|
maintainer="Nathan Owens <ndowens04@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/rakshasa/rtorrent"
|
|
distfiles="https://github.com/rakshasa/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=bc889ce1dde475ec56aa72ae996912ff58723226a4f4256fef4f1f8636d991d4
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
sed -e 's,test "$cross_compiling" = yes, false,' -i configure
|
|
}
|
|
|
|
post_install() {
|
|
vman doc/old/rtorrent.1
|
|
vsconf doc/rtorrent.rc-example rtorrent.rc
|
|
}
|