Initial Commit
- initial default booting image
This commit is contained in:
15
package/lzip/Config.in
Normal file
15
package/lzip/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
comment "lzip needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
config BR2_PACKAGE_LZIP
|
||||
bool "lzip"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
Lzip is a lossless data compressor with a user interface
|
||||
similar to the one of gzip or bzip2.
|
||||
Lzip is about as fast as gzip, compresses most files more than
|
||||
bzip2, and is better than both from a data recovery
|
||||
perspective. Lzip is a clean implementation of the LZMA
|
||||
algorithm.
|
||||
|
||||
https://www.nongnu.org/lzip/lzip.html
|
||||
4
package/lzip/lzip.hash
Normal file
4
package/lzip/lzip.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From https://lists.nongnu.org/archive/html/lzip-bug/2025-01/msg00012.html
|
||||
sha256 09418a6d8fb83f5113f5bd856e09703df5d37bae0308c668d0f346e3d3f0a56f lzip-1.25.tar.gz
|
||||
# Locally calculated
|
||||
sha256 022e9c2e9cc1aac3622313df6f971fbb39c1d1b0cb45324c16b8a1fe231c5ea6 COPYING
|
||||
43
package/lzip/lzip.mk
Normal file
43
package/lzip/lzip.mk
Normal file
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
#
|
||||
# lzip
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LZIP_VERSION = 1.25
|
||||
LZIP_SITE = http://download.savannah.gnu.org/releases/lzip
|
||||
LZIP_LICENSE = GPL-2.0+
|
||||
LZIP_LICENSE_FILES = COPYING
|
||||
|
||||
# The package is a dependency to ccache so ccache cannot be a dependency
|
||||
HOST_LZIP_ADD_CCACHE_DEPENDENCY = NO
|
||||
|
||||
define LZIP_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) ./configure --prefix=/usr \
|
||||
$(TARGET_CONFIGURE_OPTS) )
|
||||
endef
|
||||
|
||||
define HOST_LZIP_CONFIGURE_CMDS
|
||||
(cd $(@D); $(HOST_MAKE_ENV) ./configure --prefix=$(HOST_DIR) \
|
||||
$(HOST_CONFIGURE_OPTS) CC="$(HOSTCC_NOCCACHE)" CXX="$(HOSTCXX_NOCCACHE)")
|
||||
endef
|
||||
|
||||
define LZIP_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define HOST_LZIP_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define LZIP_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
||||
endef
|
||||
|
||||
define HOST_LZIP_INSTALL_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
endef
|
||||
|
||||
# It's not autotools-based
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user