aboutsummaryrefslogtreecommitdiffstats
path: root/main/rtorrent/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/rtorrent/APKBUILD')
-rw-r--r--main/rtorrent/APKBUILD24
1 files changed, 13 insertions, 11 deletions
diff --git a/main/rtorrent/APKBUILD b/main/rtorrent/APKBUILD
index 0bd70d8dad..24399d2fca 100644
--- a/main/rtorrent/APKBUILD
+++ b/main/rtorrent/APKBUILD
@@ -12,22 +12,24 @@ subpackages="$pkgname-doc"
source="http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz"
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$srcdir"/$pkgname-$pkgver
- export LDFLAGS="$LDFLAGS -lpthread"
- ./configure \
- --prefix=/usr \
- --disable-debug \
- --with-xmlrpc-c \
- || return 1
+ export LDFLAGS="$LDFLAGS -lpthread"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-debug \
+ --with-xmlrpc-c \
+ || return 1
- make || return 1
+ make || return 1
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- install -D doc/rtorrent.rc "$pkgdir"/usr/share/doc/rtorrent/rtorrent.r
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -D doc/rtorrent.rc "$pkgdir"/usr/share/doc/rtorrent/rtorrent.r
}
md5sums="0bf2f262faa8c8c8d3b11ce286ea2bf2 rtorrent-0.9.3.tar.gz"