wok diff libtorrent-rasterbar/receipt @ rev 21323

updated libtorrent-rasterbar and libtorrent-rasterbar-dev (0.16.13 -> 1.2.0)
author Hans-G?nter Theisgen
date Fri Apr 19 08:25:37 2019 +0100 (2019-04-19)
parents 6e8b1bcb30e2
children 6e6be335b4b4
line diff
     1.1 --- a/libtorrent-rasterbar/receipt	Thu Jan 24 11:33:03 2019 +0100
     1.2 +++ b/libtorrent-rasterbar/receipt	Fri Apr 19 08:25:37 2019 +0100
     1.3 @@ -1,32 +1,39 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libtorrent-rasterbar"
     1.7 -VERSION="0.16.13"
     1.8 +VERSION="1.2.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="A C++ library that aims to be a good alternative to all the other bittorrent implementations around"
    1.11 +SHORT_DESC="A C++ library that aims to be a good alternative to all the other bittorrent implementations around."
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="BSD"
    1.14 +WEB_SITE="https://www.rasterbar.com/products/libtorrent/"
    1.15 +
    1.16 +SOURCE="libtorrent"
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="https://www.rasterbar.com/products/libtorrent/"
    1.19 -WGET_URL="http://libtorrent.googlecode.com/files/$TARBALL"
    1.20 +WGET_URL="https://github.com/arvidn/$SOURCE/releases/download/${SOURCE}_${VERSION//./_}/$TARBALL"
    1.21  
    1.22 -DEPENDS="libboost-thread libboost-math libboost-filesystem libboost-python openssl python"
    1.23 -BUILD_DEPENDS="libboost-thread-dev libboost-math-dev libboost-filesystem-dev libboost-python-dev openssl-dev zlib-dev python-dev"
    1.24 +DEPENDS="libboost-filesystem libboost-math libboost-python libboost-thread \
    1.25 +	openssl python"
    1.26 +BUILD_DEPENDS="gcc83 libboost-filesystem-dev libboost-math-dev libboost-python-dev \
    1.27 +	libboost-thread-dev openssl-dev python-dev zlib-dev"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 -	cd $src
    1.33 -	./configure --enable-python-binding \
    1.34 +	./configure			\
    1.35 +		CC=gcc-83		\
    1.36 +		CXX=g++-83		\
    1.37 +		--enable-python-binding \
    1.38  		$CONFIGURE_ARGS &&
    1.39 -	make && make install
    1.40 +	make -j 1 &&
    1.41 +	make install
    1.42  }
    1.43  
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.45  genpkg_rules()
    1.46  {
    1.47  	mkdir -p $fs/usr/lib
    1.48 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.49 -	cp -a $install/usr/lib/python* $fs/usr/lib
    1.50 +
    1.51 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.52 +	cp -a $install/usr/lib/python*	$fs/usr/lib
    1.53  }
    1.54 -