bc4bed533a
Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
22 lines
800 B
Makefile
22 lines
800 B
Makefile
################################################################################
|
|
#
|
|
# python-zopfli
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_ZOPFLI_VERSION = 0.2.2
|
|
PYTHON_ZOPFLI_SOURCE = zopfli-$(PYTHON_ZOPFLI_VERSION).zip
|
|
PYTHON_ZOPFLI_SITE = https://files.pythonhosted.org/packages/9a/ed/d004d5737f9546167eecf0ecd995ee1a796703e512deb2f2ea26cdbe4b3e
|
|
PYTHON_ZOPFLI_SETUP_TYPE = setuptools
|
|
PYTHON_ZOPFLI_LICENSE = Apache-2.0
|
|
PYTHON_ZOPFLI_LICENSE_FILES = COPYING
|
|
PYTHON_ZOPFLI_DEPENDENCIES = host-python-setuptools-scm
|
|
|
|
define PYTHON_ZOPFLI_EXTRACT_CMDS
|
|
$(UNZIP) -d $(@D) $(PYTHON_ZOPFLI_DL_DIR)/$(PYTHON_ZOPFLI_SOURCE)
|
|
mv $(@D)/zopfli-$(PYTHON_ZOPFLI_VERSION)/* $(@D)
|
|
$(RM) -r $(@D)/zopfli-$(PYTHON_ZOPFLI_VERSION)
|
|
endef
|
|
|
|
$(eval $(python-package))
|