34d943ab8d
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for libpng license is Libpng. Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
21 lines
768 B
Makefile
21 lines
768 B
Makefile
################################################################################
|
|
#
|
|
# libpng
|
|
#
|
|
################################################################################
|
|
|
|
LIBPNG_VERSION = 1.6.28
|
|
LIBPNG_SERIES = 16
|
|
LIBPNG_SOURCE = libpng-$(LIBPNG_VERSION).tar.xz
|
|
LIBPNG_SITE = http://downloads.sourceforge.net/project/libpng/libpng${LIBPNG_SERIES}/$(LIBPNG_VERSION)
|
|
LIBPNG_LICENSE = Libpng
|
|
LIBPNG_LICENSE_FILES = LICENSE
|
|
LIBPNG_INSTALL_STAGING = YES
|
|
LIBPNG_DEPENDENCIES = host-pkgconf zlib
|
|
HOST_LIBPNG_DEPENDENCIES = host-pkgconf host-zlib
|
|
LIBPNG_CONFIG_SCRIPTS = libpng$(LIBPNG_SERIES)-config libpng-config
|
|
LIBPNG_CONF_OPTS = $(if $(BR2_ARM_CPU_HAS_NEON),--enable-arm-neon=yes,--enable-arm-neon=no)
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|