2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2014-08-06 04:02:25 +01:00
|
|
|
|
|
|
|
PKG := libwebp
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_WEBSITE := https://developers.google.com/speed/webp/
|
2014-08-06 04:02:25 +01:00
|
|
|
$(PKG)_IGNORE :=
|
2019-07-18 22:24:36 +01:00
|
|
|
$(PKG)_VERSION := 1.0.3
|
|
|
|
$(PKG)_CHECKSUM := e20a07865c8697bba00aebccc6f54912d6bc333bb4d604e6b07491c1a226b34f
|
2014-08-06 04:02:25 +01:00
|
|
|
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
|
|
|
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
2018-07-30 07:27:30 +01:00
|
|
|
$(PKG)_URL := https://storage.googleapis.com/downloads.webmproject.org/releases/webp/$($(PKG)_FILE)
|
2017-11-25 13:36:07 +00:00
|
|
|
$(PKG)_DEPS := cc
|
2014-08-06 04:02:25 +01:00
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
|
|
|
$(WGET) -q -O- 'https://developers.google.com/speed/webp/download' | \
|
2018-08-13 17:38:36 +01:00
|
|
|
$(SED) -n 's,.*<a href="//storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-\([0-9][^"]*\)\.tar.gz">Download</a> |,\1,p' | \
|
2014-08-06 04:02:25 +01:00
|
|
|
$(SORT) -V | \
|
|
|
|
tail -1
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
|
|
|
cd '$(1)' && ./configure \
|
2014-08-06 04:26:28 +01:00
|
|
|
$(MXE_CONFIGURE_OPTS) \
|
|
|
|
--enable-everything
|
2014-08-06 04:02:25 +01:00
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS=
|
2018-11-15 23:43:25 +00:00
|
|
|
endef
|