wok-current annotate libtorrent-rasterbar/receipt @ rev 25653
lzo needed from fsarchiver
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 13 07:22:29 2024 +0100 (6 months ago) |
parents | 44cb5d13be95 |
children |
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 |
pascal@24055 | 21 current_version() |
pascal@24055 | 22 { |
pascal@24055 | 23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 24 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 25 } |
pascal@24055 | 26 |
slaxemulator@6730 | 27 # Rules to configure and make the package. |
slaxemulator@6730 | 28 compile_rules() |
slaxemulator@6730 | 29 { |
pascal@21402 | 30 export CC=gcc-83 |
pascal@21402 | 31 export CXX=g++-83 |
Hans-G?nter@23111 | 32 |
Hans-G?nter@23111 | 33 ./bootstrap.sh \ |
Hans-G?nter@21323 | 34 --enable-python-binding \ |
slaxemulator@10228 | 35 $CONFIGURE_ARGS && |
pascal@21402 | 36 make && |
Hans-G?nter@21323 | 37 make install |
slaxemulator@6730 | 38 } |
slaxemulator@6730 | 39 |
slaxemulator@6730 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6730 | 41 genpkg_rules() |
slaxemulator@6730 | 42 { |
slaxemulator@6730 | 43 mkdir -p $fs/usr/lib |
Hans-G?nter@21323 | 44 |
Hans-G?nter@21323 | 45 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21323 | 46 cp -a $install/usr/lib/python* $fs/usr/lib |
slaxemulator@6730 | 47 } |