wok-current view libtorrent-rasterbar/receipt @ rev 23994
linld: no initrd fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 15 08:41:50 2020 +0000 (2020-12-15) |
parents | 2a63ec277b0d |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libtorrent-rasterbar"
4 VERSION="1.2.5"
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/archive/${SOURCE}-${VERSION//./_}.tar.gz"
15 DEPENDS="gcc83-lib-base libboost-filesystem libboost-math libboost-python
16 libboost-thread openssl python"
17 BUILD_DEPENDS="autoconf automake gcc83 libboost-filesystem-dev
18 libboost-math-dev libboost-python-dev libboost-thread-dev
19 libtool openssl-dev python-dev zlib-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 export CC=gcc-83
25 export CXX=g++-83
27 ./bootstrap.sh \
28 --enable-python-binding \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/lib/python* $fs/usr/lib
41 }