1 ################################################################################
5 ################################################################################
8 WEBP_SOURCE
= libwebp-
$(WEBP_VERSION
).
tar.gz
9 WEBP_SITE
= http
://downloads.webmproject.org
/releases
/webp
11 WEBP_LICENSE_FILES
= COPYING
12 WEBP_INSTALL_STAGING
= YES
15 --with-jpegincludedir
=$(STAGING_DIR
)/usr
/include \
16 --with-jpeglibdir
=$(STAGING_DIR
)/usr
/lib \
17 --with-tiffincludedir
=$(STAGING_DIR
)/usr
/include \
18 --with-tifflibdir
=$(STAGING_DIR
)/usr
/lib
20 ifeq ($(BR2_PACKAGE_LIBPNG
),y
)
21 WEBP_DEPENDENCIES
+= libpng
22 WEBP_CONF_ENV
+= ac_cv_path_LIBPNG_CONFIG
=$(STAGING_DIR
)/usr
/bin
/libpng-config
24 WEBP_CONF_ENV
+= ac_cv_path_LIBPNG_CONFIG
=/bin
/false
27 WEBP_DEPENDENCIES
+= $(if
$(BR2_PACKAGE_JPEG
),jpeg
)
28 WEBP_DEPENDENCIES
+= $(if
$(BR2_PACKAGE_TIFF
),tiff
)
30 $(eval
$(autotools-package
))