mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
14
package/libtorrent/Config.in
Normal file
14
package/libtorrent/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_LIBTORRENT
|
||||
bool "libtorrent"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_1 && BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
BitTorrent library written in C++ for *nix
|
||||
|
||||
https://github.com/rakshasa/libtorrent
|
||||
|
||||
comment "libtorrent needs a toolchain w/ C++, threads"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_1 && BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
3
package/libtorrent/libtorrent.hash
Normal file
3
package/libtorrent/libtorrent.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 ed115a28f4ae8cfcd33b94a597c076ca74fd549867a26e4fac9505c27288e983 libtorrent-0.13.8.tar.gz
|
||||
sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING
|
||||
24
package/libtorrent/libtorrent.mk
Normal file
24
package/libtorrent/libtorrent.mk
Normal file
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# libtorrent
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBTORRENT_VERSION = 0.13.8
|
||||
LIBTORRENT_SITE = http://rtorrent.net/downloads
|
||||
LIBTORRENT_DEPENDENCIES = host-pkgconf zlib
|
||||
LIBTORRENT_CONF_OPTS = --enable-aligned \
|
||||
--disable-instrumentation \
|
||||
--with-zlib=$(STAGING_DIR)/usr
|
||||
LIBTORRENT_INSTALL_STAGING = YES
|
||||
LIBTORRENT_LICENSE = GPL-2.0
|
||||
LIBTORRENT_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
LIBTORRENT_CONF_OPTS += --enable-openssl
|
||||
LIBTORRENT_DEPENDENCIES += openssl
|
||||
else
|
||||
LIBTORRENT_CONF_OPTS += --disable-openssl
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user