1 ################################################################################
5 ################################################################################
7 LIBPNG_VERSION = 1.6.16
9 LIBPNG_SOURCE = libpng-$(LIBPNG_VERSION).tar.xz
10 LIBPNG_SITE = http://downloads.sourceforge.net/project/libpng/libpng${LIBPNG_SERIES}/$(LIBPNG_VERSION)
11 LIBPNG_LICENSE = libpng license
12 LIBPNG_LICENSE_FILES = LICENSE
13 LIBPNG_INSTALL_STAGING = YES
14 LIBPNG_DEPENDENCIES = host-pkgconf zlib
15 LIBPNG_CONFIG_SCRIPTS = libpng$(LIBPNG_SERIES)-config libpng-config
16 LIBPNG_CONF_OPTS = $(if $(BR2_ARM_CPU_HAS_NEON),--enable-arm-neon=yes,--enable-arm-neon=no)
18 $(eval $(autotools-package))
19 $(eval $(host-autotools-package))