blob: 50096cfdbc3052704c17a828d27ae3430632b3f9 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001DESCRIPTION = "libTorrent is a BitTorrent library written in C++ for *nix, \
2with a focus on high performance and good code."
3HOMEPAGE = "http://libtorrent.rakshasa.no/"
Andrew Geisslerc5535c92023-01-27 16:10:19 -06004LICENSE = "GPL-2.0-or-later"
Brad Bishop6e60e8b2018-02-01 10:27:11 -05005LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
6
7DEPENDS = "zlib libsigc++-2.0 openssl cppunit"
8
Andrew Geisslerc5535c92023-01-27 16:10:19 -06009SRC_URI = "git://github.com/rakshasa/libtorrent;branch=master;protocol=https"
10SRCREV = "e60f222241319aaae482789517ad00ae9344bd13"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050011
Patrick Williamsdb4c27e2022-08-05 08:10:29 -050012CVE_CHECK_IGNORE += "\
13 CVE-2009-1760 \
14"
15
Andrew Geisslerc5535c92023-01-27 16:10:19 -060016PV = "0.13.8+git${SRCPV}"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050017
18S = "${WORKDIR}/git"
19
Andrew Geisslerc5535c92023-01-27 16:10:19 -060020
21PACKAGECONFIG ??= "instrumentation aligned"
Brad Bishop23eaf032019-11-20 05:15:02 -050022
Patrick Williams213cb262021-08-07 19:21:33 -050023PACKAGECONFIG:remove:mipsarch = "instrumentation"
24PACKAGECONFIG:remove:powerpc = "instrumentation"
25PACKAGECONFIG:remove:riscv32 = "instrumentation"
Brad Bishop23eaf032019-11-20 05:15:02 -050026
27PACKAGECONFIG[instrumentation] = "--enable-instrumentation,--disable-instrumentation,"
Andrew Geisslerc5535c92023-01-27 16:10:19 -060028PACKAGECONFIG[aligned] = "--enable-aligned,--disable-aligned,"
Brad Bishop23eaf032019-11-20 05:15:02 -050029
Brad Bishop6e60e8b2018-02-01 10:27:11 -050030inherit autotools pkgconfig
31
32EXTRA_OECONF = "--with-zlib=${STAGING_EXECPREFIXDIR}"