Initial Commit
- initial default booting image
This commit is contained in:
14
package/pigz/Config.in
Normal file
14
package/pigz/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_PIGZ
|
||||
bool "pigz"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
pigz, which stands for parallel implementation of gzip, is a
|
||||
fully functional replacement for gzip that exploits multiple
|
||||
processors and multiple cores to the hilt when compressing
|
||||
data.
|
||||
|
||||
https://www.zlib.net/pigz/
|
||||
|
||||
comment "pigz needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
9
package/pigz/Config.in.host
Normal file
9
package/pigz/Config.in.host
Normal file
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_HOST_PIGZ
|
||||
bool "host pigz"
|
||||
help
|
||||
pigz, which stands for parallel implementation of gzip, is a
|
||||
fully functional replacement for gzip that exploits multiple
|
||||
processors and multiple cores to the hilt when compressing
|
||||
data.
|
||||
|
||||
http://www.zlib.net/pigz/
|
||||
5
package/pigz/pigz.hash
Normal file
5
package/pigz/pigz.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# From https://zlib.net/pigz
|
||||
sha256 eb872b4f0e1f0ebe59c9f7bd8c506c4204893ba6a8492de31df416f0d5170fd0 pigz-2.8.tar.gz
|
||||
|
||||
# Locally calculated
|
||||
sha256 328634933a65dbc7f97a0f51df52741dc67f593bbe9eccabc9eedc6934c4983b README
|
||||
32
package/pigz/pigz.mk
Normal file
32
package/pigz/pigz.mk
Normal file
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# pigz
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PIGZ_VERSION = 2.8
|
||||
PIGZ_SITE = https://zlib.net/pigz
|
||||
PIGZ_DEPENDENCIES = zlib
|
||||
HOST_PIGZ_DEPENDENCIES = host-zlib
|
||||
PIGZ_LICENSE = Zlib
|
||||
PIGZ_LICENSE_FILES = README
|
||||
PIGZ_CPE_ID_VENDOR = zlib
|
||||
|
||||
define PIGZ_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
||||
endef
|
||||
|
||||
define HOST_PIGZ_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D)
|
||||
endef
|
||||
|
||||
define PIGZ_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/pigz $(TARGET_DIR)/usr/bin/pigz
|
||||
endef
|
||||
|
||||
define HOST_PIGZ_INSTALL_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/pigz $(HOST_DIR)/bin/pigz
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user