blob: 72fc312f1079ae9a618e52565f64a1ce7bb317a3 (
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: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
pkgname=libtorrent
pkgver=0.13.6
pkgrel=0
pkgdesc='BitTorrent library written in C++'
url='http://rakshasa.github.io/rtorrent/'
arch='all'
license='GPL'
makedepends='libsigc++-dev openssl-dev'
subpackages="$pkgname-dev"
options='libtool'
source="http://rtorrent.net/downloads/${pkgname}-${pkgver}.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-debug \
--disable-instrumentation \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="66f18044432a62c006c75f6d0bb4d7dc libtorrent-0.13.6.tar.gz"
sha256sums="2838a08c96edfd936aff8fbf99ecbb930c2bfca3337dd1482eb5fccdb80d5a04 libtorrent-0.13.6.tar.gz"
sha512sums="b8aea4060357a8a40d15d42f1f698ef6f3ebdc885000bfbfa5bf9c81af8c88b5503a107e05c214e3e8489126928d336356c5e7e0eaf836b6b84a3cf74633b050 libtorrent-0.13.6.tar.gz"
|