wok annotate libtorrent-rasterbar/receipt @ rev 22872
updated gource (0.49 -> 0.51)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 21 17:11:22 2020 +0100 (2020-02-21) |
parents | a0209f5e747b |
children | 2a63ec277b0d |
rev | line source |
---|---|
slaxemulator@6730 | 1 # SliTaz package receipt. |
slaxemulator@6730 | 2 |
slaxemulator@6730 | 3 PACKAGE="libtorrent-rasterbar" |
Hans-G?nter@21323 | 4 VERSION="1.2.0" |
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@21323 | 13 WGET_URL="https://github.com/arvidn/$SOURCE/releases/download/${SOURCE}_${VERSION//./_}/$TARBALL" |
slaxemulator@6730 | 14 |
Hans-G?nter@21323 | 15 DEPENDS="libboost-filesystem libboost-math libboost-python libboost-thread \ |
Hans-G?nter@21323 | 16 openssl python" |
Hans-G?nter@21323 | 17 BUILD_DEPENDS="gcc83 libboost-filesystem-dev libboost-math-dev libboost-python-dev \ |
Hans-G?nter@21323 | 18 libboost-thread-dev openssl-dev python-dev zlib-dev" |
pascal@15482 | 19 |
slaxemulator@6730 | 20 # Rules to configure and make the package. |
slaxemulator@6730 | 21 compile_rules() |
slaxemulator@6730 | 22 { |
pascal@21402 | 23 export CC=gcc-83 |
pascal@21402 | 24 export CXX=g++-83 |
Hans-G?nter@21323 | 25 ./configure \ |
Hans-G?nter@21323 | 26 --enable-python-binding \ |
slaxemulator@10228 | 27 $CONFIGURE_ARGS && |
pascal@21402 | 28 make && |
Hans-G?nter@21323 | 29 make install |
slaxemulator@6730 | 30 } |
slaxemulator@6730 | 31 |
slaxemulator@6730 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6730 | 33 genpkg_rules() |
slaxemulator@6730 | 34 { |
slaxemulator@6730 | 35 mkdir -p $fs/usr/lib |
Hans-G?nter@21323 | 36 |
Hans-G?nter@21323 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21323 | 38 cp -a $install/usr/lib/python* $fs/usr/lib |
slaxemulator@6730 | 39 } |