kumquat-buildroot/package/unrar/unrar.mk
Gustavo Zacarias 04e5092f51 unrar: bump to version 5.4.3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-23 15:06:52 +02:00

24 lines
631 B
Makefile

################################################################################
#
# unrar
#
################################################################################
UNRAR_VERSION = 5.4.3
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
$(MAKE) CXX="$(TARGET_CXX)" STRIP="/bin/true" \
CXXFLAGS="$(TARGET_CXXFLAGS) -pthread" \
LDFLAGS="$(TARGET_LDFLAGS) -pthread" -C $(@D)
endef
define UNRAR_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR)/usr install
endef
$(eval $(generic-package))