The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / webp / webp.mk
1 ################################################################################
2 #
3 # webp
4 #
5 ################################################################################
6
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
13
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
19
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
26
27 WEBP_DEPENDENCIES += $(if $(BR2_PACKAGE_JPEG),jpeg)
28 WEBP_DEPENDENCIES += $(if $(BR2_PACKAGE_TIFF),tiff)
29
30 $(eval $(autotools-package))