# Template file for 'libwebp'
pkgname=libwebp
version=0.2.0
revision=1
build_style=gnu-configure
configure_args="--disable-static"
makedepends="automake jpeg-devel libpng-devel>=1.5.10 tiff-devel"
subpackages="$pkgname-devel"
short_desc="WebP image format"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/speed/webp/"
license="BSD"
distfiles="http://webp.googlecode.com/files/${pkgname}-${version}.tar.gz"
checksum=aa7d5e162826362c79d7c36d41484042ab7460dc08dc33d4ea6823a0c77d4bfb
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."

pre_configure() {
	./autogen.sh
}

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