blob: 1148b234be9dedeab37d8e743f57fe301cb96a6e (
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
|
# $Id: PKGBUILD 165655 2012-08-28 09:42:38Z ibiru $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Hugo Doria <hugo@archlinux.org>
pkgname=libtorrent-rasterbar
pkgver=0.16.3
pkgrel=1
epoch=1
pkgdesc="A C++ library that aims to be a good alternative to all the other bittorrent implementations around"
url="http://www.rasterbar.com/products/libtorrent/"
arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('boost-libs' 'geoip' 'python2')
makedepends=('boost')
options=('!libtool' '!emptydirs')
source=(http://libtorrent.googlecode.com/files/$pkgname-$pkgver.tar.gz)
sha1sums=('72788037bdf6a0a4796b4d74e543528cbfe9899b')
build() {
cd $pkgname-$pkgver
PYTHON2=/usr/bin/python2 ./configure --prefix=/usr \
--enable-python-binding \
--with-libgeoip=system
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|