2011-08-10 15:34:30 +02:00
|
|
|
# Template file for 'libwebp'
|
|
|
|
pkgname=libwebp
|
2011-10-29 17:54:49 +02:00
|
|
|
version=0.1.3
|
2011-08-10 15:34:30 +02:00
|
|
|
distfiles="http://webp.googlecode.com/files/${pkgname}-${version}.tar.gz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-08-10 15:34:30 +02:00
|
|
|
short_desc="WebP image format"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://code.google.com/speed/webp/"
|
|
|
|
license="BSD"
|
2011-10-29 17:54:49 +02:00
|
|
|
checksum=40b18456e39b2822311b0ea161d6f09507cf5e8e937b02b9be3ee994ded67aba
|
2011-08-10 15:34:30 +02: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 run glibc
|
|
|
|
Add_dependency run jpeg
|
|
|
|
Add_dependency run libpng
|
|
|
|
|
|
|
|
Add_dependency build automake
|
|
|
|
Add_dependency build jpeg-devel
|
|
|
|
Add_dependency build libpng-devel
|
|
|
|
|
2011-10-29 17:54:49 +02:00
|
|
|
pre_configure() {
|
2011-08-10 15:34:30 +02:00
|
|
|
./autogen.sh
|
|
|
|
}
|
|
|
|
|
2011-10-29 17:54:49 +02:00
|
|
|
post_install() {
|
2011-08-10 15:34:30 +02:00
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|