summaryrefslogtreecommitdiff
path: root/package/libwebp/Makefile
blob: 7ae612ac693ab315662b59e317210500f6e967ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		libwebp
PKG_VERSION:=		0.3.1
PKG_RELEASE:=		1
PKG_MD5SUM:=		dc862bb4006d819b7587767a9e83d31f
PKG_DESCR:=		new image format for the web
PKG_SECTION:=		libs/image
PKG_URL:=		https://developers.google.com/speed/webp/
PKG_SITES:=		https://webp.googlecode.com/files/
PKG_OPTS:=		dev

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,LIBWEBP,libwebp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))

libwebp-install:
	$(INSTALL_DIR) $(IDIR_LIBWEBP)/usr/lib
	$(CP) $(WRKINST)/usr/lib/libwebp*.so* \
		$(IDIR_LIBWEBP)/usr/lib

include ${ADK_TOPDIR}/mk/pkg-bottom.mk