2011-08-10 13:34:30 +00:00
|
|
|
# Template file for 'libwebp'
|
|
|
|
pkgname=libwebp
|
2013-06-28 05:13:50 +00:00
|
|
|
version=0.3.1
|
|
|
|
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"
|
2013-04-13 08:15:49 +00:00
|
|
|
hostmakedepends="automake libtool"
|
2013-04-30 09:34:02 +00:00
|
|
|
makedepends="libjpeg-turbo-devel libpng-devel>=1.6 tiff-devel giflib-devel"
|
2011-08-10 13:34:30 +00:00
|
|
|
short_desc="WebP image format"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://code.google.com/speed/webp/"
|
|
|
|
license="BSD"
|
2012-06-06 08:05:24 +00:00
|
|
|
distfiles="http://webp.googlecode.com/files/${pkgname}-${version}.tar.gz"
|
2013-06-28 05:13:50 +00:00
|
|
|
checksum=b37932c625322a69fe4e9b88884b5c7aed2b3eaf9fd5e5b480aee339a92e6ee7
|
2011-08-10 13:34:30 +00:00
|
|
|
|
2011-10-29 15:54:49 +00:00
|
|
|
pre_configure() {
|
2011-08-10 13:34:30 +00:00
|
|
|
./autogen.sh
|
|
|
|
}
|
|
|
|
|
2011-10-29 15:54:49 +00:00
|
|
|
post_install() {
|
2011-08-10 13:34:30 +00:00
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libwebp-devel_package() {
|
2013-04-30 09:34:02 +00:00
|
|
|
depends="libjpeg-turbo-devel libpng-devel>=1.6 libwebp>=${version}"
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libwebp_package() {
|
|
|
|
pkg_install() {
|
2013-04-23 09:34:54 +00:00
|
|
|
vmove all
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|