void-packages/srcpkgs/libwebp/template

30 lines
825 B
Text
Raw Normal View History

2011-08-10 13:34:30 +00:00
# Template file for 'libwebp'
pkgname=libwebp
version=0.1.3
2011-08-10 13:34:30 +00:00
distfiles="http://webp.googlecode.com/files/${pkgname}-${version}.tar.gz"
build_style=gnu-configure
revision=1
2011-08-10 13:34:30 +00:00
short_desc="WebP image format"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/speed/webp/"
license="BSD"
checksum=40b18456e39b2822311b0ea161d6f09507cf5e8e937b02b9be3ee994ded67aba
2011-08-10 13:34:30 +00:00
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() {
2011-08-10 13:34:30 +00:00
./autogen.sh
}
post_install() {
2011-08-10 13:34:30 +00:00
vinstall COPYING 644 usr/share/licenses/${pkgname}
}