wok-next annotate libtorrent/receipt @ rev 20595
More fix libtool.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Apr 16 11:36:31 2018 +0300 (2018-04-16) |
parents | a7b1395df64a |
children | 9b776cbcad4e |
rev | line source |
---|---|
al@20459 | 1 # SliTaz package receipt v2. |
mimas@2018 | 2 |
mimas@2018 | 3 PACKAGE="libtorrent" |
slaxemulator@15812 | 4 VERSION="0.13.3" |
mimas@2018 | 5 CATEGORY="network" |
mimas@2018 | 6 SHORT_DESC="Torrent library for rtorrent" |
mimas@2018 | 7 MAINTAINER="mimas@slitaz.org" |
pascal@14718 | 8 LICENSE="GPL2" |
al@20459 | 9 WEB_SITE="http://libtorrent.rakshasa.no/" |
al@20459 | 10 |
mimas@2018 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mimas@2018 | 12 WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL" |
pankso@16477 | 13 |
mimas@2018 | 14 BUILD_DEPENDS="curl-dev libsigc++-dev openssl-dev" |
al@20459 | 15 SPLIT="libtorrent-dev" |
mimas@2018 | 16 |
al@20595 | 17 CROSS_BUGS="bug: can not run test program" |
al@20595 | 18 |
al@20459 | 19 compile_rules() { |
al@20595 | 20 ./configure $CONFIGURE_ARGS && |
al@20595 | 21 fix libtool && |
al@20595 | 22 make && |
al@20595 | 23 make install |
mimas@2018 | 24 } |
mimas@2018 | 25 |
al@20459 | 26 genpkg_rules() { |
al@20459 | 27 case $PACKAGE in |
al@20459 | 28 libtorrent) |
al@20595 | 29 copy @std |
al@20459 | 30 DEPENDS="curl libsigc++ openssl" |
al@20459 | 31 ;; |
al@20459 | 32 *-dev) |
al@20595 | 33 copy @dev |
al@20459 | 34 ;; |
al@20459 | 35 esac |
mimas@2018 | 36 } |