wok-6.x view libtorrent-rasterbar/receipt @ rev 21552
updated nsd (4.0.1 -> 4.1.27)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 08 15:12:37 2019 +0100 (2019-05-08) |
parents | a0209f5e747b |
children | 2a63ec277b0d |
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 }