wok-6.x annotate libtorrent/receipt @ rev 21577
qbittorrent: try gcc83
author | Hans-G?nter Theisgen |
---|---|
date | Sun May 19 15:28:18 2019 +0100 (2019-05-19) |
parents | 51370c1650e9 |
children | 4953c6775507 |
rev | line source |
---|---|
mimas@2018 | 1 # SliTaz package receipt. |
mimas@2018 | 2 |
mimas@2018 | 3 PACKAGE="libtorrent" |
Hans-G?nter@21320 | 4 VERSION="0.13.7" |
mimas@2018 | 5 CATEGORY="network" |
Hans-G?nter@21320 | 6 SHORT_DESC="Torrent library for rtorrent." |
mimas@2018 | 7 MAINTAINER="mimas@slitaz.org" |
pascal@14718 | 8 LICENSE="GPL2" |
Hans-G?nter@21320 | 9 WEB_SITE="https://rakshasa.github.io/rtorrent/" |
Hans-G?nter@21320 | 10 |
mimas@2018 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21320 | 12 WGET_URL="https://github.com/rakshasa/$PACKAGE/archive/v$VERSION.tar.gz" |
Hans-G?nter@21320 | 13 |
Hans-G?nter@21320 | 14 DEPENDS="curl libsigc++ openssl" |
Hans-G?nter@21321 | 15 BUILD_DEPENDS="automake curl-dev gcc83 libsigc++-dev libtool openssl-dev" |
pankso@16477 | 16 |
pankso@16477 | 17 CROSS_BUGS="bug: can not run test program" |
pankso@16477 | 18 #HOST_ARCH="i486 arm" |
pankso@10376 | 19 |
mimas@2018 | 20 # Rules to configure and make the package. |
mimas@2018 | 21 compile_rules() |
mimas@2018 | 22 { |
Hans-G?nter@21320 | 23 ./autogen.sh && |
mimas@2018 | 24 ./configure \ |
Hans-G?nter@21320 | 25 CC=gcc-83 \ |
Hans-G?nter@21320 | 26 CXX=g++-83 \ |
pankso@16477 | 27 $CONFIGURE_ARGS && |
Hans-G?nter@21320 | 28 make -j 1 && |
Hans-G?nter@21320 | 29 make install |
mimas@2018 | 30 } |
mimas@2018 | 31 |
mimas@2018 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2018 | 33 genpkg_rules() |
mimas@2018 | 34 { |
mimas@2018 | 35 mkdir -p $fs/usr/lib |
pascal@14718 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
mimas@2018 | 37 } |