mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
13
package/unrar/Config.in
Normal file
13
package/unrar/Config.in
Normal file
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_UNRAR
|
||||
bool "unrar"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_WCHAR
|
||||
help
|
||||
RAR file uncompressor.
|
||||
|
||||
http://www.rarlab.com/rar_add.htm
|
||||
|
||||
comment "unrar needs a toolchain w/ C++, wchar, threads"
|
||||
depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP \
|
||||
|| !BR2_TOOLCHAIN_HAS_THREADS
|
||||
3
package/unrar/unrar.hash
Normal file
3
package/unrar/unrar.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 9335d2201870f2034007c04be80e00f1dc23932cb88b329d55c76134e6ba49fe unrarsrc-5.6.4.tar.gz
|
||||
sha256 6ecc1687808b7d66b24f874755abfed7464d9751ed0001cd4e8e5d9bf397ff8a license.txt
|
||||
23
package/unrar/unrar.mk
Normal file
23
package/unrar/unrar.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# unrar
|
||||
#
|
||||
################################################################################
|
||||
|
||||
UNRAR_VERSION = 5.6.4
|
||||
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))
|
||||
Reference in New Issue
Block a user