aboutsummaryrefslogtreecommitdiffstats
path: root/community/rtorrent/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-06-15 11:28:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-06-15 11:28:26 +0000
commitcd7bd979eb712928b6d4fbf28eac9e5398b993d2 (patch)
treef76b68b88bf4296c790a3cd9cee984f90668d72f /community/rtorrent/APKBUILD
parent20ab85f5ad64d363cb2dba6a80441d9e00e17f7c (diff)
downloadaports-cd7bd979eb712928b6d4fbf28eac9e5398b993d2.tar.bz2
aports-cd7bd979eb712928b6d4fbf28eac9e5398b993d2.tar.xz
community/{rtorrent,libtorrent}: move from main
Diffstat (limited to 'community/rtorrent/APKBUILD')
-rw-r--r--community/rtorrent/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/community/rtorrent/APKBUILD b/community/rtorrent/APKBUILD
new file mode 100644
index 0000000000..c956046ccc
--- /dev/null
+++ b/community/rtorrent/APKBUILD
@@ -0,0 +1,45 @@
+# 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.9.7
+pkgrel=1
+pkgdesc="Ncurses BitTorrent client based on libTorrent"
+url="http://rakshasa.github.io/rtorrent/"
+license="GPL"
+arch="all"
+makedepends="libsigc++-dev libtorrent-dev curl-dev xmlrpc-c-dev ncurses-dev"
+checkdepends="cppunit-dev"
+subpackages="$pkgname-doc"
+source="http://rtorrent.net/downloads/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --enable-ipv6 \
+ --disable-debug \
+ --with-xmlrpc-c
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 doc/rtorrent.rc "$pkgdir"/usr/share/doc/rtorrent/rtorrent.rc
+}
+
+sha512sums="e663bd8984bcec91868beaf16d215708bdea8872338365ba6a05c9ea830b2aff045257bbc8bd0414d84009ee85852822c97bb073dfb41c21e3b0081ecaeecc00 rtorrent-0.9.7.tar.gz"