2016-01-06 13:49:00 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# unrar
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-01-08 09:47:04 +01:00
|
|
|
UNRAR_VERSION = 6.1.3
|
2016-01-06 13:49:00 +01:00
|
|
|
UNRAR_SOURCE = unrarsrc-$(UNRAR_VERSION).tar.gz
|
2020-06-28 10:51:49 +02:00
|
|
|
UNRAR_SITE = https://www.rarlab.com/rar
|
2016-01-06 13:49:00 +01:00
|
|
|
UNRAR_LICENSE = unrar
|
|
|
|
UNRAR_LICENSE_FILES = license.txt
|
2021-12-04 22:33:39 +01:00
|
|
|
UNRAR_CPE_ID_VENDOR = rarlab
|
2016-01-06 13:49:00 +01:00
|
|
|
|
|
|
|
define UNRAR_BUILD_CMDS
|
2016-10-14 00:13:49 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) CXX="$(TARGET_CXX)" STRIP="/bin/true" \
|
2016-01-06 13:49:00 +01:00
|
|
|
CXXFLAGS="$(TARGET_CXXFLAGS) -pthread" \
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS) -pthread" -C $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define UNRAR_INSTALL_TARGET_CMDS
|
2016-10-14 00:13:49 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR)/usr install
|
2016-01-06 13:49:00 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|