daf8f36ca8
Release notes: https://www.rarlab.com/rarnew.htm Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> [yann.morin.1998@free.fr: two spaces in hash file] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
24 lines
669 B
Makefile
24 lines
669 B
Makefile
################################################################################
|
|
#
|
|
# unrar
|
|
#
|
|
################################################################################
|
|
|
|
UNRAR_VERSION = 5.9.2
|
|
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
|
|
$(TARGET_MAKE_ENV) $(MAKE) CXX="$(TARGET_CXX)" STRIP="/bin/true" \
|
|
CXXFLAGS="$(TARGET_CXXFLAGS) -pthread" \
|
|
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))
|