void-packages/srcpkgs/libwebp/template

30 lines
890 B
Plaintext
Raw Normal View History

2011-08-10 15:34:30 +02:00
# Template file for 'libwebp'
pkgname=libwebp
version=0.4.0
revision=3
build_style=gnu-configure
configure_args="--disable-static --enable-libwebpmux
--enable-libwebpdemux --enable-libwebpdecoder"
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="https://developers.google.com/speed/webp/"
2011-08-10 15:34:30 +02:00
license="BSD"
distfiles="http://downloads.webmproject.org/releases/webp/${pkgname}-${version}.tar.gz"
checksum=31913577e96386556855b41d210736449445fe96cfbe9289014e9b8afa944d69
2011-08-10 15:34:30 +02:00
post_install() {
vlicense COPYING LICENSE
2011-08-10 15:34:30 +02:00
}
libwebp-devel_package() {
depends="libjpeg-turbo-devel libpng-devel>=1.6 ${sourcepkg}>=${version}_${revision}"
2013-04-30 11:34:02 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-06-28 07:13:50 +02:00
vmove "usr/lib/*.so"
}
}