depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_ARCH_HAS_ATOMICS
+ select BR2_PACKAGE_ZLIB
help
BitTorrent library written in C++ for *nix
LIBTORRENT_VERSION = 0.13.6
LIBTORRENT_SITE = http://rtorrent.net/downloads
-LIBTORRENT_DEPENDENCIES = host-pkgconf \
- $(if $(BR2_PACKAGE_OPENSSL),openssl) \
- $(if $(BR2_PACKAGE_ZLIB),zlib)
+LIBTORRENT_DEPENDENCIES = host-pkgconf zlib \
+ $(if $(BR2_PACKAGE_OPENSSL),openssl)
LIBTORRENT_CONF_OPTS = --enable-aligned \
--disable-instrumentation \
- $(if $(BR2_PACKAGE_OPENSSL),--enable-openssl,--disable-openssl) \
- $(if $(BR2_PACKAGE_ZLIB),--with-zlib=$(STAGING_DIR)/usr,--without-zlib)
+ --with-zlib=$(STAGING_DIR)/usr \
+ $(if $(BR2_PACKAGE_OPENSSL),--enable-openssl,--disable-openssl)
LIBTORRENT_INSTALL_STAGING = YES
LIBTORRENT_AUTORECONF = YES
LIBTORRENT_LICENSE = GPLv2