Advertisement
timcowchip

libtorrent-rasterbar

Apr 20th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. # Description: A C++ bittorrent library.
  2. # URL: http://www.rasterbar.com/products/libtorrent/
  3. # Packager: Danny Rawlins, crux at romster dot me
  4. # Maintainer: Chris Farrell, timcowchip at gmail dot com
  5. # Depends on: boost
  6.  
  7. name=libtorrent-rasterbar
  8. version=1.1.3
  9. release=1
  10. source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-${version//./_}/$name-$version.tar.gz)
  11.  
  12. build() {
  13. cd $name-$version
  14.  
  15. CXXFLAGS="-std=c++11"
  16.  
  17. CONFIG_SHELL=/bin/bash \
  18. ./configure \
  19. --prefix=/usr \
  20. --enable-python-binding
  21.  
  22. make
  23. make DESTDIR=$PKG install
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement