wok-next view libtorrent-rasterbar/receipt @ rev 20200
libgnomeprint: add bison 3 patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 17:38:15 2017 +0100 (2017-11-03) |
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 }