# HG changeset patch # User Hans-G?nter Theisgen # Date 1555655338 -3600 # Node ID 51370c1650e98b72e66ebdf644f3831818ce2d82 # Parent 83774c8a65dcf5cc3d797c8fbcc8f6a57aac8c2c updated libtorrent and libtorrent-dev (0.13.3 -> 0.13.7) diff -r 83774c8a65dc -r 51370c1650e9 libtorrent-dev/receipt --- a/libtorrent-dev/receipt Thu Apr 18 17:52:09 2019 +0100 +++ b/libtorrent-dev/receipt Fri Apr 19 07:28:58 2019 +0100 @@ -1,21 +1,22 @@ # SliTaz package receipt. PACKAGE="libtorrent-dev" -VERSION="0.13.3" +VERSION="0.13.7" CATEGORY="development" SHORT_DESC="Libtorrent development files." MAINTAINER="mimas@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://rakshasa.github.io/rtorrent/" + WANTED="libtorrent" -WEB_SITE="http://libtorrent.rakshasa.no/" - DEPENDS="libtorrent pkg-config" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib/pkgconfig - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig + + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig } diff -r 83774c8a65dc -r 51370c1650e9 libtorrent/receipt --- a/libtorrent/receipt Thu Apr 18 17:52:09 2019 +0100 +++ b/libtorrent/receipt Fri Apr 19 07:28:58 2019 +0100 @@ -1,27 +1,32 @@ # SliTaz package receipt. PACKAGE="libtorrent" -VERSION="0.13.3" +VERSION="0.13.7" CATEGORY="network" -SHORT_DESC="Torrent library for rtorrent" +SHORT_DESC="Torrent library for rtorrent." MAINTAINER="mimas@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://rakshasa.github.io/rtorrent/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://libtorrent.rakshasa.no/" -WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL" +WGET_URL="https://github.com/rakshasa/$PACKAGE/archive/v$VERSION.tar.gz" + +DEPENDS="curl libsigc++ openssl" +BUILD_DEPENDS="automake curl-dev gcc83 libsigc++-dev openssl-dev" CROSS_BUGS="bug: can not run test program" #HOST_ARCH="i486 arm" -DEPENDS="curl libsigc++ openssl" -BUILD_DEPENDS="curl-dev libsigc++-dev openssl-dev" - # Rules to configure and make the package. compile_rules() { + ./autogen.sh && ./configure \ + CC=gcc-83 \ + CXX=g++-83 \ $CONFIGURE_ARGS && - make && make install + make -j 1 && + make install } # Rules to gen a SliTaz package suitable for Tazpkg.