wok-next diff libtorrent-rasterbar/receipt @ rev 20110
spandsp: race condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 29 23:32:41 2017 +0100 (2017-10-29) |
parents | d7ecb10cce31 |
children | e6615350078d |
line diff
1.1 --- a/libtorrent-rasterbar/receipt Fri Jan 24 03:12:23 2014 +0000 1.2 +++ b/libtorrent-rasterbar/receipt Sun Oct 29 23:32:41 2017 +0100 1.3 @@ -1,23 +1,25 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libtorrent-rasterbar" 1.8 -VERSION="0.16.13" 1.9 +VERSION="1.1.3" 1.10 CATEGORY="development" 1.11 -SHORT_DESC="A C++ library that aims to be a good alternative to all the other bittorrent implementations around" 1.12 +SHORT_DESC="A C++ bittorrent implementation library" 1.13 MAINTAINER="slaxemulator@gmail.com" 1.14 LICENSE="BSD" 1.15 +WEB_SITE="http://www.rasterbar.com/products/libtorrent/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://www.rasterbar.com/products/libtorrent/" 1.19 -WGET_URL="http://libtorrent.googlecode.com/files/$TARBALL" 1.20 +WGET_URL="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${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 +BUILD_DEPENDS="libboost-dev libboost-system libboost-chrono libboost-random \ 1.25 +openssl-dev python-dev libboost-python" 1.26 +SPLIT="libtorrent-rasterbar-dev" 1.27 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 { 1.31 - cd $src 1.32 - ./configure --enable-python-binding \ 1.33 + ./configure \ 1.34 + --enable-python-binding \ 1.35 $CONFIGURE_ARGS && 1.36 make && make install 1.37 } 1.38 @@ -25,8 +27,16 @@ 1.39 # Rules to gen a SliTaz package suitable for Tazpkg. 1.40 genpkg_rules() 1.41 { 1.42 - mkdir -p $fs/usr/lib 1.43 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.44 - cp -a $install/usr/lib/python* $fs/usr/lib 1.45 + case $PACKAGE in 1.46 + libtorrent-rasterbar) 1.47 + copy @std 1.48 + DEPENDS="libboost-chrono libboost-python libboost-random \ 1.49 + libboost-system libcrypto libssl python" 1.50 + ;; 1.51 + *-dev) 1.52 + copy @dev 1.53 + DEPENDS="libtorrent-rasterbar libboost-dev libboost-chrono \ 1.54 + libboost-random libboost-system libcrypto-dev openssl-dev" 1.55 + ;; 1.56 + esac 1.57 } 1.58 -