package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / webp / webp.mk
blob5f2cab7641fbd7ad1095c122f50aa030e7c6c4bb
1 ################################################################################
3 # webp
5 ################################################################################
7 WEBP_VERSION = 0.4.3
8 WEBP_SOURCE = libwebp-$(WEBP_VERSION).tar.gz
9 WEBP_SITE = http://downloads.webmproject.org/releases/webp
10 WEBP_LICENSE = BSD-3c
11 WEBP_LICENSE_FILES = COPYING
12 WEBP_INSTALL_STAGING = YES
14 WEBP_CONF_OPTS += \
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
23 else
24 WEBP_CONF_ENV += ac_cv_path_LIBPNG_CONFIG=/bin/false
25 endif
27 WEBP_DEPENDENCIES += $(if $(BR2_PACKAGE_JPEG),jpeg)
28 WEBP_DEPENDENCIES += $(if $(BR2_PACKAGE_TIFF),tiff)
30 $(eval $(autotools-package))