blob: ec51d9046bb2ce6ba89c5a1eff003f969ea02081 (
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
|
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
pkgname=libtorrent
pkgver=0.13.2
pkgrel=0
pkgdesc='BitTorrent library written in C++'
url='http://libtorrent.rakshasa.no/'
arch='all'
license='GPL'
makedepends='libsigc++-dev openssl-dev'
subpackages="$pkgname-dev"
options='libtool'
source="http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz"
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--disable-debug \
|| return 1
make || return 1
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install || return 1
}
md5sums="96c0b81501357df402ab592f59ecaeab libtorrent-0.13.2.tar.gz"
|