wok-6.x annotate libtorrent-rasterbar/receipt @ rev 23124
updated libxml2 and libxml2-dev (2.9.9 -> 2.9.10)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 13 10:03:47 2020 +0100 (2020-03-13) |
parents | 2a63ec277b0d |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
slaxemulator@6730 | 1 # SliTaz package receipt. |
slaxemulator@6730 | 2 |
slaxemulator@6730 | 3 PACKAGE="libtorrent-rasterbar" |
Hans-G?nter@23111 | 4 VERSION="1.2.5" |
slaxemulator@6730 | 5 CATEGORY="development" |
Hans-G?nter@21323 | 6 SHORT_DESC="A C++ library that aims to be a good alternative to all the other bittorrent implementations around." |
slaxemulator@6730 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15482 | 8 LICENSE="BSD" |
Hans-G?nter@21323 | 9 WEB_SITE="https://www.rasterbar.com/products/libtorrent/" |
Hans-G?nter@21323 | 10 |
Hans-G?nter@21323 | 11 SOURCE="libtorrent" |
slaxemulator@6730 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23112 | 13 WGET_URL="https://github.com/arvidn/$SOURCE/archive/${SOURCE}-${VERSION//./_}.tar.gz" |
slaxemulator@6730 | 14 |
Hans-G?nter@23111 | 15 DEPENDS="gcc83-lib-base libboost-filesystem libboost-math libboost-python |
Hans-G?nter@23111 | 16 libboost-thread openssl python" |
Hans-G?nter@23111 | 17 BUILD_DEPENDS="autoconf automake gcc83 libboost-filesystem-dev |
Hans-G?nter@23111 | 18 libboost-math-dev libboost-python-dev libboost-thread-dev |
Hans-G?nter@23111 | 19 libtool openssl-dev python-dev zlib-dev" |
pascal@15482 | 20 |
slaxemulator@6730 | 21 # Rules to configure and make the package. |
slaxemulator@6730 | 22 compile_rules() |
slaxemulator@6730 | 23 { |
pascal@21402 | 24 export CC=gcc-83 |
pascal@21402 | 25 export CXX=g++-83 |
Hans-G?nter@23111 | 26 |
Hans-G?nter@23111 | 27 ./bootstrap.sh \ |
Hans-G?nter@21323 | 28 --enable-python-binding \ |
slaxemulator@10228 | 29 $CONFIGURE_ARGS && |
pascal@21402 | 30 make && |
Hans-G?nter@21323 | 31 make install |
slaxemulator@6730 | 32 } |
slaxemulator@6730 | 33 |
slaxemulator@6730 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6730 | 35 genpkg_rules() |
slaxemulator@6730 | 36 { |
slaxemulator@6730 | 37 mkdir -p $fs/usr/lib |
Hans-G?nter@21323 | 38 |
Hans-G?nter@21323 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21323 | 40 cp -a $install/usr/lib/python* $fs/usr/lib |
slaxemulator@6730 | 41 } |