wok-next annotate libtorrent-rasterbar/receipt @ rev 21687
updated glpi (0.80.7 -> 9.4.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 29 17:11:21 2020 +0100 (2020-06-29) |
parents | 6c80b09ff20e |
children |
rev | line source |
---|---|
al@19765 | 1 # SliTaz package receipt v2. |
slaxemulator@6730 | 2 |
slaxemulator@6730 | 3 PACKAGE="libtorrent-rasterbar" |
al@20983 | 4 VERSION="1.1.9" |
slaxemulator@6730 | 5 CATEGORY="development" |
al@19765 | 6 SHORT_DESC="A C++ bittorrent implementation library" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
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@20983 | 16 SPLIT="$PACKAGE-dev" |
pascal@15482 | 17 |
al@20595 | 18 compile_rules() { |
al@19765 | 19 ./configure \ |
al@19765 | 20 --enable-python-binding \ |
al@20983 | 21 --disable-static \ |
slaxemulator@10228 | 22 $CONFIGURE_ARGS && |
al@20595 | 23 fix libtool && |
al@20595 | 24 make && |
al@20595 | 25 make install |
slaxemulator@6730 | 26 } |
slaxemulator@6730 | 27 |
al@20595 | 28 genpkg_rules() { |
al@19765 | 29 case $PACKAGE in |
al@19765 | 30 libtorrent-rasterbar) |
al@19765 | 31 copy @std |
al@20983 | 32 DEPENDS="boost-python 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 } |