Initial Commit
- initial default booting image
This commit is contained in:
15
package/unrar/Config.in
Normal file
15
package/unrar/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_UNRAR
|
||||
bool "unrar"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
||||
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, gcc >= 4.8"
|
||||
depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP \
|
||||
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \
|
||||
|| !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 d1afa67ef4121ebc5986815699e05db0ce8648499e5dca854f282a4c3f72c003 unrarsrc-7.2.6.tar.gz
|
||||
sha256 6ecc1687808b7d66b24f874755abfed7464d9751ed0001cd4e8e5d9bf397ff8a license.txt
|
||||
24
package/unrar/unrar.mk
Normal file
24
package/unrar/unrar.mk
Normal file
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# unrar
|
||||
#
|
||||
################################################################################
|
||||
|
||||
UNRAR_VERSION = 7.2.6
|
||||
UNRAR_SOURCE = unrarsrc-$(UNRAR_VERSION).tar.gz
|
||||
UNRAR_SITE = https://www.rarlab.com/rar
|
||||
UNRAR_LICENSE = unrar
|
||||
UNRAR_LICENSE_FILES = license.txt
|
||||
UNRAR_CPE_ID_VENDOR = rarlab
|
||||
|
||||
define UNRAR_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) CXX="$(TARGET_CXX)" STRIP="/bin/true" \
|
||||
CXXFLAGS="$(TARGET_CXXFLAGS) -pthread -std=c++11" \
|
||||
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