# Description: WebP library and conversion tools
# URL: https://developers.google.com/speed/webp/
# Packager: pierre at nutyx dot org
# Depends on: libpng libjpeg-turbo libtiff

name=libwebp
version=0.5.0
release=1

source=(http://downloads.webmproject.org/releases/webp/$name-$version.tar.gz)

build() {
cd $name-$version
./configure --prefix=/usr \
--enable-libwebpmux \
--enable-libwebpdemux \
--enable-libwebpdecoder \
--enable-libwebpextras  \
--enable-swap-16bit-csp \
--disable-static
make
make DESTDIR=$PKG install
}
