diff options
Diffstat (limited to 'main/libtorrent')
-rw-r--r-- | main/libtorrent/APKBUILD | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/main/libtorrent/APKBUILD b/main/libtorrent/APKBUILD index 2f23d1f53..d7d0dad96 100644 --- a/main/libtorrent/APKBUILD +++ b/main/libtorrent/APKBUILD @@ -13,19 +13,20 @@ options='libtool' source="http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz" build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$srcdir"/$pkgname-$pkgver - ./configure \ - --prefix=/usr \ - --disable-debug \ - || return 1 - - make || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-debug \ + || return 1 + make || return 1 } package() { - cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install || return 1 + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install || return 1 } md5sums="e94f6c590bb02aaf4d58618f738a85f2 libtorrent-0.13.3.tar.gz" |