wok annotate libtorrent-rasterbar/receipt @ rev 21334
updated libvpx and libvpx-dev (1.3.0 -> 1.8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 19 16:12:39 2019 +0100 (2019-04-19) |
parents | 6e8b1bcb30e2 |
children | 6e6be335b4b4 |
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 { |
Hans-G?nter@21323 | 23 ./configure \ |
Hans-G?nter@21323 | 24 CC=gcc-83 \ |
Hans-G?nter@21323 | 25 CXX=g++-83 \ |
Hans-G?nter@21323 | 26 --enable-python-binding \ |
slaxemulator@10228 | 27 $CONFIGURE_ARGS && |
Hans-G?nter@21323 | 28 make -j 1 && |
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 } |