You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libpng
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
LIBPNG_VERSION = 1.6.39
|
|
|
|
LIBPNG_DIR = libpng-$(LIBPNG_VERSION)
|
|
|
|
LIBPNG_SOURCE = libpng-$(LIBPNG_VERSION).tar.xz
|
|
|
|
LIBPNG_SITE = https://sourceforge.net/projects/libpng/files/libpng16/$(LIBPNG_VERSION)
|
|
|
|
|
|
|
|
LIBPNG_DEPENDENCIES = zlib
|
|
|
|
|
|
|
|
LIBPNG_CONFIG_SCRIPTS = libpng16-config
|
|
|
|
|
|
|
|
define LIBPNG_TARGET_CLEANUP
|
|
|
|
$(TARGET_RM) $(addprefix $(TARGET_bindir)/,libpng-config)
|
|
|
|
endef
|
|
|
|
LIBPNG_TARGET_FINALIZE_HOOKS += LIBPNG_TARGET_CLEANUP
|
|
|
|
|
|
|
|
libpng: | $(TARGET_DIR)
|
|
|
|
$(call autotools-package)
|
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
HOST_LIBPNG_DEPENDENCIES = host-zlib
|
|
|
|
|
|
|
|
host-libpng: | $(HOST_DIR)
|
|
|
|
$(call host-autotools-package)
|