blob: fbb8d7d69cf9bf0d69343d04f9486a337e911081 (
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.7
_pkgver=${pkgver%.0}
_pkgver=${_pkgver//./_}
pkgrel=0
pkgdesc="Feature complete C++ bittorrent implementation"
url="http://www.rasterbar.com/products/libtorrent"
arch="all"
license="BSD-3-Clause"
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
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="e35e95eec55a69b81c1d21f73e230dc4de7502b5adce99193c01b0d89a04b0f484788ff235d3f73cc77eeccba8d8d441fac92aa76a17afb56bafabd318b4a75e libtorrent-rasterbar-1.1.7.tar.gz"
|