2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-05-14 12:55:28 +02:00
|
|
|
#
|
|
|
|
# libtorrent
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-05-14 12:55:28 +02:00
|
|
|
|
2018-08-19 12:47:16 +02:00
|
|
|
LIBTORRENT_VERSION = 0.13.7
|
2015-10-05 01:56:15 +02:00
|
|
|
LIBTORRENT_SITE = http://rtorrent.net/downloads
|
2018-08-30 15:42:20 +02:00
|
|
|
LIBTORRENT_DEPENDENCIES = host-pkgconf zlib
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBTORRENT_CONF_OPTS = --enable-aligned \
|
2015-10-05 01:56:15 +02:00
|
|
|
--disable-instrumentation \
|
2018-08-30 15:42:20 +02:00
|
|
|
--with-zlib=$(STAGING_DIR)/usr
|
2012-05-14 12:55:28 +02:00
|
|
|
LIBTORRENT_INSTALL_STAGING = YES
|
|
|
|
LIBTORRENT_AUTORECONF = YES
|
2017-03-30 15:43:32 +02:00
|
|
|
LIBTORRENT_LICENSE = GPL-2.0
|
2012-10-31 08:23:33 +01:00
|
|
|
LIBTORRENT_LICENSE_FILES = COPYING
|
2012-05-14 12:55:28 +02:00
|
|
|
|
2018-08-30 15:42:20 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
LIBTORRENT_CONF_OPTS += --enable-openssl
|
|
|
|
LIBTORRENT_DEPENDENCIES += openssl
|
|
|
|
else
|
|
|
|
LIBTORRENT_CONF_OPTS += --disable-openssl
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|