wok view libtorrent/receipt @ rev 25680
updated gnu-efi (3.0.14 -> 3.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 18:46:02 2024 +0100 (8 months ago) |
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 }