This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

13
package/unrar/Config.in Normal file
View 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
View 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
View 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))