c4cad5405f
Uptream does not provide a change log. The package now needs a C++11 compiler. For example, the source file "blake2s.hpp" is using the "constexpr" keyword. Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
25 lines
710 B
Makefile
25 lines
710 B
Makefile
################################################################################
|
|
#
|
|
# unrar
|
|
#
|
|
################################################################################
|
|
|
|
UNRAR_VERSION = 6.2.6
|
|
UNRAR_SOURCE = unrarsrc-$(UNRAR_VERSION).tar.gz
|
|
UNRAR_SITE = https://www.rarlab.com/rar
|
|
UNRAR_LICENSE = unrar
|
|
UNRAR_LICENSE_FILES = license.txt
|
|
UNRAR_CPE_ID_VENDOR = rarlab
|
|
|
|
define UNRAR_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) CXX="$(TARGET_CXX)" STRIP="/bin/true" \
|
|
CXXFLAGS="$(TARGET_CXXFLAGS) -pthread -std=c++11" \
|
|
LDFLAGS="$(TARGET_LDFLAGS) -pthread" -C $(@D)
|
|
endef
|
|
|
|
define UNRAR_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR)/usr install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|