wok-next view libtorrent-rasterbar/receipt @ rev 19765
Up icu, libboost...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jun 12 11:39:09 2017 +0300 (2017-06-12) |
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 }