2011-08-10 15:34:30 +02:00
|
|
|
# Template file for 'libwebp'
|
|
|
|
pkgname=libwebp
|
2012-11-26 13:27:24 +01:00
|
|
|
version=0.2.1
|
2013-04-13 10:15:49 +02:00
|
|
|
revision=3
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-08-18 07:47:07 +02:00
|
|
|
configure_args="--disable-static"
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="automake libtool"
|
|
|
|
makedepends="libjpeg-turbo-devel libpng-devel>=1.5.10 tiff-devel"
|
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"
|
2012-06-06 10:05:24 +02:00
|
|
|
distfiles="http://webp.googlecode.com/files/${pkgname}-${version}.tar.gz"
|
2012-11-26 13:27:24 +01:00
|
|
|
checksum=894e08b8b0043cf007cc1ca893f33d73784565a6e64b0e7aefb201a687392314
|
2011-08-10 15:34:30 +02:00
|
|
|
|
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}
|
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libwebp-devel_package() {
|
|
|
|
depends="libjpeg-turbo-devel libpng-devel libwebp>=${version}"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libwebp_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|