wok view libtorrent-rasterbar/receipt @ rev 21747

tazboot: spare 2k
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 14 17:17:16 2019 +0200 (6 months ago)
parents a0209f5e747b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libtorrent-rasterbar"
4 VERSION="1.2.0"
5 CATEGORY="development"
6 SHORT_DESC="A C++ library that aims to be a good alternative to all the other bittorrent implementations around."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://www.rasterbar.com/products/libtorrent/"
11 SOURCE="libtorrent"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/arvidn/$SOURCE/releases/download/${SOURCE}_${VERSION//./_}/$TARBALL"
15 DEPENDS="libboost-filesystem libboost-math libboost-python libboost-thread \
16 openssl python"
17 BUILD_DEPENDS="gcc83 libboost-filesystem-dev libboost-math-dev libboost-python-dev \
18 libboost-thread-dev openssl-dev python-dev zlib-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 export CC=gcc-83
24 export CXX=g++-83
25 ./configure \
26 --enable-python-binding \
27 $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/lib/python* $fs/usr/lib
39 }