wok-next view libtorrent-rasterbar/receipt @ rev 20443

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
parents d7ecb10cce31
children e6615350078d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libtorrent-rasterbar"
4 VERSION="1.1.3"
5 CATEGORY="development"
6 SHORT_DESC="A C++ bittorrent implementation library"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="http://www.rasterbar.com/products/libtorrent/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${VERSION//./_}/$TARBALL"
14 BUILD_DEPENDS="libboost-dev libboost-system libboost-chrono libboost-random \
15 openssl-dev python-dev libboost-python"
16 SPLIT="libtorrent-rasterbar-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --enable-python-binding \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 case $PACKAGE in
31 libtorrent-rasterbar)
32 copy @std
33 DEPENDS="libboost-chrono libboost-python libboost-random \
34 libboost-system libcrypto libssl python"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="libtorrent-rasterbar libboost-dev libboost-chrono \
39 libboost-random libboost-system libcrypto-dev openssl-dev"
40 ;;
41 esac
42 }