30 lines
895 B
Plaintext
30 lines
895 B
Plaintext
# Template file for 'libwebp'
|
|
pkgname=libwebp
|
|
version=0.4.0
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --enable-libwebpmux
|
|
--enable-libwebpdemux --enable-libwebpdecoder"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libjpeg-turbo-devel libpng-devel>=1.6 tiff-devel giflib-devel"
|
|
short_desc="WebP image format"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://code.google.com/speed/webp/"
|
|
license="BSD"
|
|
distfiles="http://webp.googlecode.com/files/${pkgname}-${version}.tar.gz"
|
|
checksum=31913577e96386556855b41d210736449445fe96cfbe9289014e9b8afa944d69
|
|
|
|
post_install() {
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
}
|
|
|
|
libwebp-devel_package() {
|
|
depends="libjpeg-turbo-devel libpng-devel>=1.6 ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|