blob: fd64813123cea729c9193028c170a11effd52af3 (
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
35
|
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=libtorrent-rasterbar
pkgver=1.1.6
_pkgver=${pkgver%.0}
_pkgver=${_pkgver//./_}
pkgrel=1
pkgdesc="A feature complete C++ bittorrent implementation"
url="http://www.rasterbar.com/products/libtorrent"
arch="all"
license="BSD"
depends=""
depends_dev="boost-dev libressl-dev python2-dev"
makedepends="$depends_dev linux-headers"
subpackages="$pkgname-dev"
source="https://github.com/arvidn/libtorrent/releases/download/libtorrent-$_pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--enable-python-binding \
--with-boost-system=boost_system || return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
sha512sums="80e9d460088a1e9ac9b5b1f9a224f07bc1be98d459d50599384d30d43de3f7778eae0f9ced015229c02dc8fe43f962bbaf1dddad070b87a2a67e18eef879eeab libtorrent-rasterbar-1.1.6.tar.gz"
|