diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-15 11:28:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-15 11:28:26 +0000 |
commit | cd7bd979eb712928b6d4fbf28eac9e5398b993d2 (patch) | |
tree | f76b68b88bf4296c790a3cd9cee984f90668d72f /community/libtorrent | |
parent | 20ab85f5ad64d363cb2dba6a80441d9e00e17f7c (diff) |
community/{rtorrent,libtorrent}: move from main
Diffstat (limited to 'community/libtorrent')
-rw-r--r-- | community/libtorrent/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/libtorrent/APKBUILD b/community/libtorrent/APKBUILD new file mode 100644 index 00000000000..8d088880c73 --- /dev/null +++ b/community/libtorrent/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Peter Bui <pnutzh4x0r@gmail.com> +# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> +# Maintainer: Jakub Jirutka <jakub@jirutka.cz> + +pkgname=libtorrent +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 automake autoconf libtool linux-headers" +subpackages="$pkgname-dev" +source="http://rtorrent.net/downloads/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + default_prepare + cd "$builddir" + ./autogen.sh +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-debug \ + --disable-instrumentation + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="7bf3e87dbd19eb4e6806dff8a01c3ec61ea960bbd809d4bcbee96a46e169f97d0baf0fc85ab4a1efbbab07850e9b1060bae46c453ea6c42f5c23f8d921295efb libtorrent-0.13.7.tar.gz" |