aboutsummaryrefslogtreecommitdiffstats
path: root/community/libtorrent/APKBUILD
blob: ceaa128d020a81544d93e7cdda183a865b7343fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=libtorrent
pkgver=0.13.8
pkgrel=0
pkgdesc="BitTorrent library written in C++"
url="https://rakshasa.github.io/rtorrent"
arch="all"
license="GPL-2.0-or-later"
makedepends="zlib-dev libsigc++-dev openssl-dev automake autoconf libtool linux-headers"
subpackages="$pkgname-dev"
source="https://rtorrent.net/downloads/$pkgname-$pkgver.tar.gz"

prepare() {
	default_prepare
	./autogen.sh
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-debug \
		--disable-instrumentation
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="417177df5b27cd8c6a6317063b0846da2690de4633836466728605c2edad2de407d29d321cc481b8d1352dd0ff6dd89f4566a830424a8cf986f2fddb04704da4  libtorrent-0.13.8.tar.gz"