libtorrent-rasterbar: update to 1.1.2
This commit is contained in:
parent
30411afbc7
commit
4b15e10e6c
|
@ -1,10 +0,0 @@
|
|||
--- include/libtorrent/config.hpp.orig 2014-08-15 08:51:56.000000000 +0200
|
||||
+++ include/libtorrent/config.hpp 2015-01-03 18:34:41.639761027 +0100
|
||||
@@ -33,6 +33,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
#ifndef TORRENT_CONFIG_HPP_INCLUDED
|
||||
#define TORRENT_CONFIG_HPP_INCLUDED
|
||||
|
||||
+#include <openssl/rand.h>
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/version.hpp>
|
||||
#include <stdio.h> // for snprintf
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libtorrent-rasterbar'
|
||||
pkgname=libtorrent-rasterbar
|
||||
version=1.1.1
|
||||
revision=5
|
||||
version=1.1.2
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-libgeoip --with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib"
|
||||
hostmakedepends="pkg-config intltool"
|
||||
|
@ -9,14 +9,11 @@ makedepends="libressl-devel boost-devel geoip-devel"
|
|||
short_desc="C++ bittorrent library by Rasterbar Software"
|
||||
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
||||
homepage="http://www.rasterbar.com/products/libtorrent/"
|
||||
license="BSD"
|
||||
license="3-clause-BSD"
|
||||
distfiles="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${version//./_}/libtorrent-rasterbar-${version}.tar.gz"
|
||||
checksum=f70c82367b0980460ef95aff3e117fd4a174477892d529beec434f74d615b31f
|
||||
checksum=45e55f2374507bb67a9b9125f6b8d1c45e6cd33849c62b1d9cb56657354e359a
|
||||
|
||||
subpackages="libtorrent-rasterbar-devel"
|
||||
CXXFLAGS="-std=c++11"
|
||||
CFLAGS="-std=c++11" # FIXME: bindings/python doesn't use CXXFLAGS
|
||||
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
configure_args+=" --enable-python-binding"
|
||||
makedepends+=" boost-python python-devel"
|
||||
|
@ -29,18 +26,18 @@ post_install() {
|
|||
|
||||
libtorrent-rasterbar-python_package() {
|
||||
replaces="${sourcepkg}<1.0.9_2"
|
||||
short_desc+=" - python bindings"
|
||||
short_desc+=" - Python bindings"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python*
|
||||
}
|
||||
}
|
||||
libtorrent-rasterbar-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} libressl-devel>=2.1.4 boost-devel geoip-devel"
|
||||
depends="${sourcepkg}>=${version}_${revision} libressl-devel boost-devel geoip-devel"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
vmove "usr/lib/*.a"
|
||||
vmove usr/lib/*.so
|
||||
vmove usr/lib/*.a
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue