24 lines
634 B
Plaintext
24 lines
634 B
Plaintext
# Description: A C++ bittorrent library.
|
|
# URL: http://www.rasterbar.com/products/libtorrent/
|
|
# Packager: Danny Rawlins, crux at romster dot me
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: boost
|
|
|
|
name=libtorrent-rasterbar
|
|
version=1.1.0
|
|
release=1
|
|
#source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-${version//./_}/$name-$version.tar.gz)
|
|
source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_1/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
CONFIG_SHELL=/bin/bash \
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-python-binding
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|