Initial Commit
- initial default booting image
This commit is contained in:
6
package/python-brotli/Config.in
Normal file
6
package/python-brotli/Config.in
Normal file
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_PYTHON_BROTLI
|
||||
bool "python-brotli"
|
||||
help
|
||||
Python bindings for the Brotli compression library.
|
||||
|
||||
https://github.com/google/brotli
|
||||
5
package/python-brotli/python-brotli.hash
Normal file
5
package/python-brotli/python-brotli.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/brotli/json
|
||||
md5 af164f216cba527bf6f24d09c9d3576b brotli-1.2.0.tar.gz
|
||||
sha256 e310f77e41941c13340a95976fe66a8a95b01e783d430eeaf7a2f87e0a57dd0a brotli-1.2.0.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 3d180008e36922a4e8daec11c34c7af264fed5962d07924aea928c38e8663c94 LICENSE
|
||||
23
package/python-brotli/python-brotli.mk
Normal file
23
package/python-brotli/python-brotli.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-brotli
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_BROTLI_VERSION = 1.2.0
|
||||
PYTHON_BROTLI_SOURCE = brotli-$(PYTHON_BROTLI_VERSION).tar.gz
|
||||
PYTHON_BROTLI_SITE = https://files.pythonhosted.org/packages/f7/16/c92ca344d646e71a43b8bb353f0a6490d7f6e06210f8554c8f874e454285
|
||||
PYTHON_BROTLI_SETUP_TYPE = setuptools
|
||||
PYTHON_BROTLI_LICENSE = MIT
|
||||
PYTHON_BROTLI_LICENSE_FILES = LICENSE
|
||||
PYTHON_BROTLI_DEPENDENCIES = host-python-pkgconfig
|
||||
|
||||
PYTHON_BROTLI_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y)
|
||||
PYTHON_BROTLI_CFLAGS += -O0
|
||||
endif
|
||||
|
||||
PYTHON_BROTLI_ENV = CFLAGS="$(PYTHON_BROTLI_CFLAGS)"
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user