blob: 71b2b3f18f563dd44b964fd9f42c20aaf7e00ac7 (
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
36
37
38
39
40
41
42
|
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=libtorrent-rasterbar
pkgver=1.1.0
_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 openssl-dev python-dev"
makedepends="$depends_dev linux-headers"
install=""
subpackages="$pkgname-dev"
source="https://github.com/arvidn/libtorrent/releases/download/libtorrent-$_pkgver/$pkgname-$pkgver.tar.gz
no-sse.patch"
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
}
md5sums="3a291044b5b33fec3e30b22a94fda31f libtorrent-rasterbar-1.1.0.tar.gz
f39ebf9c50eebb31359cd08449620eb2 no-sse.patch"
sha256sums="2713df7da4aec5263ac11b6626ea966f368a5a8081103fd8f2f2ed97b5cd731d libtorrent-rasterbar-1.1.0.tar.gz
2bccddf807b532f2dc234229e38d0a714c713e6338bac55d114c6cc2ce778dfa no-sse.patch"
sha512sums="5770e3b243605aabe94951f0d3774a1a928b87690c0ba9f8a093ecf90852cf1c76d29a477ab0efc4a352802ca9b405d5c00a5dcdc8d03c6c1644aabe6ad020df libtorrent-rasterbar-1.1.0.tar.gz
0ed0f4e0106dc0d84bf7781abb14ca37e0ceeb967017951ac3847ba6b0d5e286a76b153977a3158c8e3fe32f363215c8afed222f5c2b135121285fc8d9126e68 no-sse.patch"
|