New package: libwebp-0.1.2.

This commit is contained in:
Juan RP 2011-08-10 15:34:30 +02:00
parent 920d639628
commit a61e3c02cb
5 changed files with 54 additions and 0 deletions

1
srcpkgs/libwebp-devel Symbolic link
View file

@ -0,0 +1 @@
libwebp

2
srcpkgs/libwebp/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=0.1.2"
api_depends="${abi_depends}"

View file

@ -0,0 +1,17 @@
# Template file for 'libwebp-devel'.
#
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run jpeg-devel
Add_dependency run libpng-devel
Add_dependency run libwebp
do_install()
{
vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
vmove usr/lib/pkgconfig usr/lib
}

33
srcpkgs/libwebp/template Normal file
View file

@ -0,0 +1,33 @@
# Template file for 'libwebp'
pkgname=libwebp
version=0.1.2
distfiles="http://webp.googlecode.com/files/${pkgname}-${version}.tar.gz"
build_style=gnu_configure
short_desc="WebP image format"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/speed/webp/"
license="BSD"
checksum=d5ff8df777010a5fb8dd5bac85eb30e98fe665e089ad9d3be2d01724a4c23eb5
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
pre_configure()
{
./autogen.sh
}
post_install()
{
vinstall COPYING 644 usr/share/licenses/${pkgname}
}

View file

@ -820,3 +820,4 @@ swig-callback-callback.so go go
swig-file-file.so go go
libblktapctl.so.1 xen xen-devel
libmozjs185.so.1 js js-devel
libwebp.so libwebp libwebp-devel