wok annotate libtorrent/receipt @ rev 24509
updated edid-decode (fork-point-4 -> fork-point-5)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 17:31:17 2022 +0100 (2022-02-20) |
parents | 9773d49d458c |
children |
rev | line source |
---|---|
mimas@2018 | 1 # SliTaz package receipt. |
mimas@2018 | 2 |
mimas@2018 | 3 PACKAGE="libtorrent" |
Hans-G?nter@23110 | 4 VERSION="0.13.8" |
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@23110 | 14 DEPENDS="curl gcc83-lib-base 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 |
pascal@24055 | 20 current_version() |
pascal@24055 | 21 { |
pascal@24299 | 22 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 23 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 24 } |
pascal@24055 | 25 |
mimas@2018 | 26 # Rules to configure and make the package. |
mimas@2018 | 27 compile_rules() |
mimas@2018 | 28 { |
Hans-G?nter@21320 | 29 ./autogen.sh && |
Hans-G?nter@23110 | 30 ./configure \ |
Hans-G?nter@21320 | 31 CC=gcc-83 \ |
Hans-G?nter@21320 | 32 CXX=g++-83 \ |
pascal@24086 | 33 CFLAGS="-march=i686 -Os -pipe -fomit-frame-pointer" \ |
pascal@24086 | 34 CXXFLAGS="-march=i686 -Os -pipe -fomit-frame-pointer" \ |
pankso@16477 | 35 $CONFIGURE_ARGS && |
Hans-G?nter@21320 | 36 make -j 1 && |
Hans-G?nter@21320 | 37 make install |
mimas@2018 | 38 } |
mimas@2018 | 39 |
mimas@2018 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2018 | 41 genpkg_rules() |
mimas@2018 | 42 { |
mimas@2018 | 43 mkdir -p $fs/usr/lib |
Hans-G?nter@23110 | 44 cp -a $install/usr/lib/*.so* $fs/usr/lib |
mimas@2018 | 45 } |