wok rev 21320

updated libtorrent and libtorrent-dev (0.13.3 -> 0.13.7)
author Hans-G?nter Theisgen
date Fri Apr 19 07:28:58 2019 +0100 (2019-04-19)
parents 83774c8a65dc
children 86c2b49d0dc6
files libtorrent-dev/receipt libtorrent/receipt
line diff
     1.1 --- a/libtorrent-dev/receipt	Thu Apr 18 17:52:09 2019 +0100
     1.2 +++ b/libtorrent-dev/receipt	Fri Apr 19 07:28:58 2019 +0100
     1.3 @@ -1,21 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libtorrent-dev"
     1.7 -VERSION="0.13.3"
     1.8 +VERSION="0.13.7"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Libtorrent development files."
    1.11  MAINTAINER="mimas@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://rakshasa.github.io/rtorrent/"
    1.14 +
    1.15  WANTED="libtorrent"
    1.16 -WEB_SITE="http://libtorrent.rakshasa.no/"
    1.17 -
    1.18  DEPENDS="libtorrent pkg-config"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23  	mkdir -p $fs/usr/lib/pkgconfig
    1.24 -	cp -a $install/usr/include $fs/usr
    1.25 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.26 -	cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig
    1.27 +
    1.28 +	cp -a $install/usr/include		$fs/usr
    1.29 +	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.30 +	cp -a $install/usr/lib/pkgconfig/*.pc	$fs/usr/lib/pkgconfig
    1.31  }
     2.1 --- a/libtorrent/receipt	Thu Apr 18 17:52:09 2019 +0100
     2.2 +++ b/libtorrent/receipt	Fri Apr 19 07:28:58 2019 +0100
     2.3 @@ -1,27 +1,32 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libtorrent"
     2.7 -VERSION="0.13.3"
     2.8 +VERSION="0.13.7"
     2.9  CATEGORY="network"
    2.10 -SHORT_DESC="Torrent library for rtorrent"
    2.11 +SHORT_DESC="Torrent library for rtorrent."
    2.12  MAINTAINER="mimas@slitaz.org"
    2.13  LICENSE="GPL2"
    2.14 +WEB_SITE="https://rakshasa.github.io/rtorrent/"
    2.15 +
    2.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17 -WEB_SITE="http://libtorrent.rakshasa.no/"
    2.18 -WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL"
    2.19 +WGET_URL="https://github.com/rakshasa/$PACKAGE/archive/v$VERSION.tar.gz"
    2.20 +
    2.21 +DEPENDS="curl libsigc++ openssl"
    2.22 +BUILD_DEPENDS="automake curl-dev gcc83 libsigc++-dev openssl-dev"
    2.23  
    2.24  CROSS_BUGS="bug: can not run test program"
    2.25  #HOST_ARCH="i486 arm"
    2.26  
    2.27 -DEPENDS="curl libsigc++ openssl"
    2.28 -BUILD_DEPENDS="curl-dev libsigc++-dev openssl-dev"
    2.29 -
    2.30  # Rules to configure and make the package.
    2.31  compile_rules()
    2.32  {
    2.33 +	./autogen.sh &&
    2.34  	./configure \
    2.35 +		CC=gcc-83	\
    2.36 +		CXX=g++-83	\
    2.37  		$CONFIGURE_ARGS &&
    2.38 -	make && make install
    2.39 +	make -j 1 &&
    2.40 +	make install
    2.41  }
    2.42  
    2.43  # Rules to gen a SliTaz package suitable for Tazpkg.