Initial Commit
- initial default booting image
This commit is contained in:
30
package/libtorrent/libtorrent.mk
Normal file
30
package/libtorrent/libtorrent.mk
Normal file
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# libtorrent
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# When updating the version, please also update rtorrent
|
||||
LIBTORRENT_VERSION = 0.15.3
|
||||
LIBTORRENT_SITE = https://github.com/rakshasa/rtorrent/releases/download/v$(LIBTORRENT_VERSION)
|
||||
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_LIBEXECINFO),y)
|
||||
LIBTORRENT_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -lexecinfo"
|
||||
LIBTORRENT_DEPENDENCIES += libexecinfo
|
||||
endif
|
||||
|
||||
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