2011-08-10 15:34:30 +02:00
|
|
|
# Template file for 'libwebp'
|
|
|
|
pkgname=libwebp
|
2014-02-03 09:53:19 +01:00
|
|
|
version=0.4.0
|
2013-06-28 07:13:50 +02:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-04-23 11:34:54 +02:00
|
|
|
configure_args="--disable-static --enable-libwebpmux
|
|
|
|
--enable-libwebpdemux --enable-libwebpdecoder"
|
2014-02-03 09:53:19 +01:00
|
|
|
hostmakedepends="pkg-config"
|
2013-04-30 11:34:02 +02:00
|
|
|
makedepends="libjpeg-turbo-devel libpng-devel>=1.6 tiff-devel giflib-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"
|
2014-02-03 09:53:19 +01:00
|
|
|
checksum=31913577e96386556855b41d210736449445fe96cfbe9289014e9b8afa944d69
|
2011-08-10 15:34:30 +02:00
|
|
|
|
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() {
|
2014-02-03 09:53:19 +01:00
|
|
|
depends="libjpeg-turbo-devel libpng-devel>=1.6 ${sourcepkg}>=${version}_${revision}"
|
2013-04-30 11:34:02 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-06-28 07:13:50 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|