# Description: A C++ bittorrent library. # URL: http://www.rasterbar.com/products/libtorrent/ # Maintainer: Danny Rawlins, crux at romster dot me # Depends on: boost name=libtorrent-rasterbar version=1.2.2 release=2 source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-${version//./_}/$name-$version.tar.gz fix-boost-1.72.patch) build() { cd $name-$version patch -p1 -i $SRC/fix-boost-1.72.patch ./configure \ --prefix=/usr \ --enable-python-binding make make DESTDIR=$PKG install }