wok view libtorrent-rasterbar/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (4 weeks ago)
parents 5ea0ce1cecc0
children
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 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
25 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 export CC=gcc-83
32 export CXX=g++-83
34 ./bootstrap.sh \
35 --enable-python-binding \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/lib/python* $fs/usr/lib
48 }