wok view libtorrent/receipt @ rev 21399

mana, newsbeuter: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 22 19:45:31 2019 +0200 (2019-04-22)
parents 51370c1650e9
children 4953c6775507
line source
1 # SliTaz package receipt.
3 PACKAGE="libtorrent"
4 VERSION="0.13.7"
5 CATEGORY="network"
6 SHORT_DESC="Torrent library for rtorrent."
7 MAINTAINER="mimas@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://rakshasa.github.io/rtorrent/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/rakshasa/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS="curl libsigc++ openssl"
15 BUILD_DEPENDS="automake curl-dev gcc83 libsigc++-dev libtool openssl-dev"
17 CROSS_BUGS="bug: can not run test program"
18 #HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./autogen.sh &&
24 ./configure \
25 CC=gcc-83 \
26 CXX=g++-83 \
27 $CONFIGURE_ARGS &&
28 make -j 1 &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }