1################################################################################ 2# 3# libtorrent 4# 5################################################################################ 6 7LIBTORRENT_VERSION = 0.13.8 8LIBTORRENT_SITE = http://rtorrent.net/downloads 9LIBTORRENT_DEPENDENCIES = host-pkgconf zlib 10LIBTORRENT_CONF_OPTS = --enable-aligned \ 11 --disable-instrumentation \ 12 --with-zlib=$(STAGING_DIR)/usr 13LIBTORRENT_INSTALL_STAGING = YES 14LIBTORRENT_LICENSE = GPL-2.0 15LIBTORRENT_LICENSE_FILES = COPYING 16 17ifeq ($(BR2_PACKAGE_OPENSSL),y) 18LIBTORRENT_CONF_OPTS += --enable-openssl 19LIBTORRENT_DEPENDENCIES += openssl 20else 21LIBTORRENT_CONF_OPTS += --disable-openssl 22endif 23 24$(eval $(autotools-package)) 25