wok 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 67c260ff0c86
children ad0ab8fb354c
files libtorrent-rasterbar-dev/receipt libtorrent-rasterbar/receipt
line diff
     1.1 --- a/libtorrent-rasterbar-dev/receipt	Fri Apr 19 07:57:25 2019 +0100
     1.2 +++ b/libtorrent-rasterbar-dev/receipt	Fri Apr 19 08:25:37 2019 +0100
     1.3 @@ -1,23 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libtorrent-rasterbar-dev"
     1.7 -VERSION="0.16.13"
     1.8 +VERSION="1.2.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="devel files for libtorrent-rasterbar"
    1.11 +SHORT_DESC="Development files for libtorrent-rasterbar."
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="BSD"
    1.14  WEB_SITE="https://www.rasterbar.com/products/libtorrent/"
    1.15 +
    1.16  WANTED="libtorrent-rasterbar"
    1.17 -
    1.18 -DEPENDS="libtorrent-rasterbar libboost-math-dev libboost-thread-dev \
    1.19 -libboost-filesystem-dev zlib-dev pkg-config"
    1.20 +DEPENDS="libboost-filesystem-dev libboost-math-dev libboost-thread-dev \
    1.21 +	libtorrent-rasterbar pkg-config zlib-dev"
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26  	mkdir -p $fs/usr/lib
    1.27 -	cp -a $install/usr/include $fs/usr
    1.28 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.29 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.30 +
    1.31 +	cp -a $install/usr/include		$fs/usr
    1.32 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.33 +	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.34  }
    1.35 -
     2.1 --- a/libtorrent-rasterbar/receipt	Fri Apr 19 07:57:25 2019 +0100
     2.2 +++ b/libtorrent-rasterbar/receipt	Fri Apr 19 08:25:37 2019 +0100
     2.3 @@ -1,32 +1,39 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libtorrent-rasterbar"
     2.7 -VERSION="0.16.13"
     2.8 +VERSION="1.2.0"
     2.9  CATEGORY="development"
    2.10 -SHORT_DESC="A C++ library that aims to be a good alternative to all the other bittorrent implementations around"
    2.11 +SHORT_DESC="A C++ library that aims to be a good alternative to all the other bittorrent implementations around."
    2.12  MAINTAINER="slaxemulator@gmail.com"
    2.13  LICENSE="BSD"
    2.14 +WEB_SITE="https://www.rasterbar.com/products/libtorrent/"
    2.15 +
    2.16 +SOURCE="libtorrent"
    2.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.18 -WEB_SITE="https://www.rasterbar.com/products/libtorrent/"
    2.19 -WGET_URL="http://libtorrent.googlecode.com/files/$TARBALL"
    2.20 +WGET_URL="https://github.com/arvidn/$SOURCE/releases/download/${SOURCE}_${VERSION//./_}/$TARBALL"
    2.21  
    2.22 -DEPENDS="libboost-thread libboost-math libboost-filesystem libboost-python openssl python"
    2.23 -BUILD_DEPENDS="libboost-thread-dev libboost-math-dev libboost-filesystem-dev libboost-python-dev openssl-dev zlib-dev python-dev"
    2.24 +DEPENDS="libboost-filesystem libboost-math libboost-python libboost-thread \
    2.25 +	openssl python"
    2.26 +BUILD_DEPENDS="gcc83 libboost-filesystem-dev libboost-math-dev libboost-python-dev \
    2.27 +	libboost-thread-dev openssl-dev python-dev zlib-dev"
    2.28  
    2.29  # Rules to configure and make the package.
    2.30  compile_rules()
    2.31  {
    2.32 -	cd $src
    2.33 -	./configure --enable-python-binding \
    2.34 +	./configure			\
    2.35 +		CC=gcc-83		\
    2.36 +		CXX=g++-83		\
    2.37 +		--enable-python-binding \
    2.38  		$CONFIGURE_ARGS &&
    2.39 -	make && make install
    2.40 +	make -j 1 &&
    2.41 +	make install
    2.42  }
    2.43  
    2.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.45  genpkg_rules()
    2.46  {
    2.47  	mkdir -p $fs/usr/lib
    2.48 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.49 -	cp -a $install/usr/lib/python* $fs/usr/lib
    2.50 +
    2.51 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.52 +	cp -a $install/usr/lib/python*	$fs/usr/lib
    2.53  }
    2.54 -