# Template file for 'libwebp'
pkgname=libwebp
version=0.1.3
distfiles="http://webp.googlecode.com/files/${pkgname}-${version}.tar.gz"
build_style=gnu-configure
revision=1
short_desc="WebP image format"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/speed/webp/"
license="BSD"
checksum=40b18456e39b2822311b0ea161d6f09507cf5e8e937b02b9be3ee994ded67aba
long_desc="
 WebP is a new image format that provides lossy compression for photographic
 images. In a large scale study of 900,000 web images, WebP images were 39.8%
 smaller than jpeg images of similar quality."

subpackages="$pkgname-devel"

Add_dependency build automake
Add_dependency build jpeg-devel
Add_dependency build libpng-devel

pre_configure() {
	./autogen.sh
}

post_install() {
	vinstall COPYING 644 usr/share/licenses/${pkgname}
}