summaryrefslogtreecommitdiffstats
path: root/extra/libtorrent-rasterbar/Pkgfile
blob: b2c9d0b077c5225164945cb210753c356b2207b1 (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
# Description: un client bitorrent en c++ comme alternative aux autres client.
# URL:http://www.rasterbar.com/products/libtorrent/
# Maintainer: NuTyX core team
# Packager: fanch
# Depends on:
# Run on:

name=libtorrent-rasterbar
version=0.15.4
release=1
source=(http://libtorrent.googlecode.com/files/$name-$version.tar.gz
        disable-valloc.dpatch)


build() {
  cd $SRC/$name-$version
  patch -Np1 -i $SRC/disable-valloc.dpatch
  PYTHON=python2 ./configure --prefix=/usr --enable-python-binding \
              --with-boost-filesystem=mt \
              --with-boost-thread=mt
  make 
  make DESTDIR=$PKG install 
  install -D COPYING $PKG/usr/share/licenses/$name/LICENSE
}