aports/community/rtorrent/APKBUILD
2025-04-28 14:31:10 +00:00

56 lines
1.2 KiB
Text

# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=rtorrent
pkgver=0.15.2
pkgrel=0
pkgdesc="Ncurses BitTorrent client based on libTorrent"
url="https://rakshasa.github.io/rtorrent/"
license="GPL-2.0-or-later"
arch="all"
makedepends="
autoconf
automake
curl-dev
libsigc++3-dev
libtool
libtorrent-dev
ncurses-dev
tinyxml2-dev
"
checkdepends="cppunit-dev"
subpackages="$pkgname-doc"
source="https://github.com/rakshasa/rtorrent/archive/v$pkgver/rtorrent-$pkgver.tar.gz"
prepare() {
default_prepare
autoreconf -iv
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-ipv6 \
--disable-debug \
--with-xmlrpc-tinyxml2
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
install -Dm644 doc/rtorrent.rc "$pkgdir"/usr/share/doc/rtorrent/rtorrent.rc
}
sha512sums="
a5687bc1e1eb315af2189ced819a0804331f4f20c783475283777e16decbba61bb0ab0fbb1e9e4b8e7c7397c610d82f4daf8ae3ee61084a2cea44c790b0018f8 rtorrent-0.15.2.tar.gz
"