# Description: A C++ bittorrent library. # URL: https://www.rasterbar.com/products/libtorrent/ # Maintainer: Danny Rawlins, crux at romster dot me # Depends on: boost python3-setuptools name=libtorrent-rasterbar version=1.2.11 release=1 source=(https://github.com/arvidn/libtorrent/releases/download/v$version/$name-$version.tar.gz libtorrent-rasterbar-cxx14-fix.patch really-disable-debug-flags.patch) build() { cd $name-$version # https://github.com/arvidn/libtorrent/issues/5024 patch -p1 -i $SRC/libtorrent-rasterbar-cxx14-fix.patch patch -p1 -i $SRC/really-disable-debug-flags.patch autoreconf -fi PYTHON='/usr/bin/python3' \ ./configure \ --prefix=/usr \ --enable-python-binding \ --with-libiconv \ --enable-python-binding \ --with-boost-python=boost_python3 make make DESTDIR=$PKG install }