2016-01-06 13:49:00 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# unrar
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-09-07 18:58:38 +02:00
|
|
|
UNRAR_VERSION = 5.5.8
|
2016-01-06 13:49:00 +01:00
|
|
|
UNRAR_SOURCE = unrarsrc-$(UNRAR_VERSION).tar.gz
|
|
|
|
UNRAR_SITE = http://www.rarlab.com/rar
|
|
|
|
UNRAR_LICENSE = unrar
|
|
|
|
UNRAR_LICENSE_FILES = license.txt
|
|
|
|
|
|
|
|
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))
|