diff options
| author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-06-14 21:10:27 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-15 11:26:40 +0000 |
| commit | 55fc951259600cd01ecdaf7d7e4eebccf671226f (patch) | |
| tree | 7d95548e68e960025aec7d48b1875b43fa34cc0c | |
| parent | a5596261f0b704ed1fb6ab9d6552c5264623c059 (diff) | |
| download | aports-55fc951259600cd01ecdaf7d7e4eebccf671226f.tar.bz2 aports-55fc951259600cd01ecdaf7d7e4eebccf671226f.tar.xz | |
main/libtorrent: upgrade to 0.13.7 and modernize
| -rw-r--r-- | main/libtorrent/APKBUILD | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/main/libtorrent/APKBUILD b/main/libtorrent/APKBUILD index 01050af11e..8d088880c7 100644 --- a/main/libtorrent/APKBUILD +++ b/main/libtorrent/APKBUILD @@ -3,36 +3,37 @@ # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=libtorrent -pkgver=0.13.6 -pkgrel=4 +pkgver=0.13.7 +pkgrel=0 pkgdesc="BitTorrent library written in C++" url="http://rakshasa.github.io/rtorrent/" arch="all" license="GPL" -makedepends="zlib-dev libsigc++-dev libressl-dev" +makedepends="zlib-dev libsigc++-dev libressl-dev automake autoconf libtool linux-headers" subpackages="$pkgname-dev" -options="libtool" source="http://rtorrent.net/downloads/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" -build() { +prepare() { + default_prepare cd "$builddir" + ./autogen.sh +} +build() { + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-debug \ - --disable-instrumentation \ - || return 1 - make || return 1 + --disable-instrumentation + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } -md5sums="66f18044432a62c006c75f6d0bb4d7dc libtorrent-0.13.6.tar.gz" -sha256sums="2838a08c96edfd936aff8fbf99ecbb930c2bfca3337dd1482eb5fccdb80d5a04 libtorrent-0.13.6.tar.gz" -sha512sums="b8aea4060357a8a40d15d42f1f698ef6f3ebdc885000bfbfa5bf9c81af8c88b5503a107e05c214e3e8489126928d336356c5e7e0eaf836b6b84a3cf74633b050 libtorrent-0.13.6.tar.gz" +sha512sums="7bf3e87dbd19eb4e6806dff8a01c3ec61ea960bbd809d4bcbee96a46e169f97d0baf0fc85ab4a1efbbab07850e9b1060bae46c453ea6c42f5c23f8d921295efb libtorrent-0.13.7.tar.gz" |
