2019-03-16 08:05:20 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# uftp
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-06-08 08:13:15 +02:00
|
|
|
UFTP_VERSION = 4.9.11
|
2019-03-16 08:05:20 +01:00
|
|
|
UFTP_SITE = http://sourceforge.net/projects/uftp-multicast/files/source-tar
|
|
|
|
UFTP_LICENSE = GPL-3.0+
|
|
|
|
UFTP_LICENSE_FILES = LICENSE.txt
|
|
|
|
|
2019-03-19 23:17:30 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
UFTP_DEPENDENCIES += host-pkgconf openssl
|
2019-03-26 00:42:37 +01:00
|
|
|
UFTP_MAKE_OPTS += CRYPT_LIB="`$(PKG_CONFIG_HOST_BINARY) --libs libcrypto`"
|
2019-03-19 23:17:30 +01:00
|
|
|
else
|
|
|
|
UFTP_MAKE_OPTS += NO_ENCRYPTION=1
|
|
|
|
endif
|
2019-03-19 23:17:29 +01:00
|
|
|
|
2019-03-16 08:05:20 +01:00
|
|
|
define UFTP_BUILD_CMDS
|
2019-03-19 23:17:29 +01:00
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(UFTP_MAKE_OPTS)
|
2019-03-16 08:05:20 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define UFTP_INSTALL_TARGET_CMDS
|
2019-03-19 23:17:29 +01:00
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(UFTP_MAKE_OPTS) \
|
|
|
|
DESTDIR=$(TARGET_DIR) install
|
2019-03-16 08:05:20 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|