wok-next annotate libtorrent-rasterbar/receipt @ rev 20915
libboost -> boost
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 21 00:41:54 2018 +0300 (2018-08-21) |
parents | a3c581bf52b8 |
children | 6c80b09ff20e |
rev | line source |
---|---|
al@19765 | 1 # SliTaz package receipt v2. |
slaxemulator@6730 | 2 |
slaxemulator@6730 | 3 PACKAGE="libtorrent-rasterbar" |
al@19765 | 4 VERSION="1.1.3" |
slaxemulator@6730 | 5 CATEGORY="development" |
al@19765 | 6 SHORT_DESC="A C++ bittorrent implementation library" |
slaxemulator@6730 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15482 | 8 LICENSE="BSD" |
al@20906 | 9 WEB_SITE="https://www.libtorrent.org/" |
al@19765 | 10 |
slaxemulator@6730 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19765 | 12 WGET_URL="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${VERSION//./_}/$TARBALL" |
slaxemulator@6730 | 13 |
al@20915 | 14 BUILD_DEPENDS="boost-dev boost-system boost-chrono boost-random \ |
al@20915 | 15 openssl-dev python-dev boost-python" |
al@19765 | 16 SPLIT="libtorrent-rasterbar-dev" |
pascal@15482 | 17 |
al@20595 | 18 compile_rules() { |
al@19765 | 19 ./configure \ |
al@19765 | 20 --enable-python-binding \ |
slaxemulator@10228 | 21 $CONFIGURE_ARGS && |
al@20595 | 22 fix libtool && |
al@20595 | 23 make && |
al@20595 | 24 make install |
slaxemulator@6730 | 25 } |
slaxemulator@6730 | 26 |
al@20595 | 27 genpkg_rules() { |
al@19765 | 28 case $PACKAGE in |
al@19765 | 29 libtorrent-rasterbar) |
al@19765 | 30 copy @std |
al@20915 | 31 DEPENDS="boost-chrono boost-python boost-random \ |
al@20915 | 32 boost-system openssl python" |
al@19765 | 33 ;; |
al@19765 | 34 *-dev) |
al@19765 | 35 copy @dev |
al@20915 | 36 DEPENDS="libtorrent-rasterbar boost-dev boost-chrono \ |
al@20915 | 37 boost-random boost-system openssl-dev" |
al@19765 | 38 ;; |
al@19765 | 39 esac |
slaxemulator@6730 | 40 } |