contrib/libtorrent-rasterbar/Pkgfile

26 lines
610 B
Plaintext
Raw Normal View History

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/
2014-11-10 13:28:07 +01:00
# Packager: Danny Rawlins, crux at romster dot me
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: boost
2011-04-10 15:27:43 +02:00
name=libtorrent-rasterbar
2017-09-16 10:16:37 +02:00
version=1.1.4
2012-06-25 15:54:47 +02:00
release=1
2017-09-16 10:16:37 +02:00
source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-${version//./_}/$name-$version.tar.gz
libtorrent-boost-1.65.patch)
2015-12-22 12:50:50 +01:00
2011-04-10 15:27:43 +02:00
build() {
cd $name-$version
2017-09-16 10:16:37 +02:00
patch -p1 -i $SRC/libtorrent-boost-1.65.patch
#CONFIG_SHELL=/bin/bash \
2011-04-10 15:27:43 +02:00
./configure \
--prefix=/usr \
--enable-python-binding
make
make DESTDIR=$PKG install
}