wok-next view libtorrent-rasterbar/receipt @ rev 21159
updated diffutils (3.6 -> 3.7)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 20 08:46:59 2019 +0100 (2019-02-20) |
parents | 6c80b09ff20e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libtorrent-rasterbar"
4 VERSION="1.1.9"
5 CATEGORY="development"
6 SHORT_DESC="A C++ bittorrent implementation library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.libtorrent.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${VERSION//./_}/$TARBALL"
14 BUILD_DEPENDS="boost-dev boost-system boost-chrono boost-random \
15 openssl-dev python-dev boost-python"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 ./configure \
20 --enable-python-binding \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 libtorrent-rasterbar)
31 copy @std
32 DEPENDS="boost-python boost-system openssl python"
33 ;;
34 *-dev)
35 copy @dev
36 DEPENDS="libtorrent-rasterbar boost-dev boost-chrono \
37 boost-random boost-system openssl-dev"
38 ;;
39 esac
40 }