2011-08-10 13:34:30 +00:00
|
|
|
# Template file for 'libwebp'
|
|
|
|
pkgname=libwebp
|
2014-10-25 10:38:17 +00:00
|
|
|
version=0.4.2
|
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-04-23 09:34:54 +00:00
|
|
|
configure_args="--disable-static --enable-libwebpmux
|
|
|
|
--enable-libwebpdemux --enable-libwebpdecoder"
|
2014-02-03 08:53:19 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2014-10-03 18:19:08 +00:00
|
|
|
makedepends="libjpeg-turbo-devel libpng-devel>=1.6 tiff-devel giflib-devel>=5.1.0"
|
2011-08-10 13:34:30 +00:00
|
|
|
short_desc="WebP image format"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-08-03 09:55:03 +00:00
|
|
|
homepage="https://developers.google.com/speed/webp/"
|
2011-08-10 13:34:30 +00:00
|
|
|
license="BSD"
|
2014-08-03 09:55:03 +00:00
|
|
|
distfiles="http://downloads.webmproject.org/releases/webp/${pkgname}-${version}.tar.gz"
|
2014-10-25 10:38:17 +00:00
|
|
|
checksum=14d825d7c2ef7d49621bcb6b83466be455585e671ae0a2ebc1f2e07775a1722d
|
2011-08-10 13:34:30 +00:00
|
|
|
|
2011-10-29 15:54:49 +00:00
|
|
|
post_install() {
|
2014-08-03 09:55:03 +00:00
|
|
|
vlicense COPYING LICENSE
|
2011-08-10 13:34:30 +00:00
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libwebp-devel_package() {
|
2014-02-03 08:53:19 +00:00
|
|
|
depends="libjpeg-turbo-devel libpng-devel>=1.6 ${sourcepkg}>=${version}_${revision}"
|
2013-04-30 09:34:02 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-06-28 05:13:50 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|