wok-current view libtorrent/receipt @ rev 24966
updated nettle and nettle-dev (3.5.1 -> 3.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 25 07:28:45 2022 +0100 (2022-04-25) |
parents | 9773d49d458c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libtorrent"
4 VERSION="0.13.8"
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 gcc83-lib-base 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 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./autogen.sh &&
30 ./configure \
31 CC=gcc-83 \
32 CXX=g++-83 \
33 CFLAGS="-march=i686 -Os -pipe -fomit-frame-pointer" \
34 CXXFLAGS="-march=i686 -Os -pipe -fomit-frame-pointer" \
35 $CONFIGURE_ARGS &&
36 make -j 1 &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }