2015-12-22 12:50:50 +01:00
|
|
|
# Description: A C++ bittorrent library.
|
2016-05-10 15:07:05 +02:00
|
|
|
# URL: http://www.rasterbar.com/products/libtorrent/
|
2018-02-21 12:28:28 +01:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2011-04-10 16:10:23 +02:00
|
|
|
# Depends on: boost
|
2011-04-10 15:27:43 +02:00
|
|
|
|
|
|
|
name=libtorrent-rasterbar
|
2019-10-26 08:47:02 +02:00
|
|
|
version=1.2.2
|
2019-12-19 08:43:37 +01:00
|
|
|
release=2
|
|
|
|
source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-${version//./_}/$name-$version.tar.gz
|
|
|
|
fix-boost-1.72.patch)
|
2015-12-22 12:50:50 +01:00
|
|
|
|
2011-04-10 15:27:43 +02:00
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
2019-12-19 08:43:37 +01:00
|
|
|
patch -p1 -i $SRC/fix-boost-1.72.patch
|
|
|
|
|
2011-04-10 15:27:43 +02:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-python-binding
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|