void-packages/srcpkgs/libwebp/template
2014-11-03 13:09:18 +00:00

30 lines
969 B
Text

# Template file for 'libwebp'
pkgname=libwebp
version=0.4.2
revision=1
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>=5.1.0"
short_desc="WebP image format"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://developers.google.com/speed/webp/"
license="BSD"
update_site="http://downloads.webmproject.org/releases/webp/index.html"
distfiles="http://downloads.webmproject.org/releases/webp/${pkgname}-${version}.tar.gz"
checksum=14d825d7c2ef7d49621bcb6b83466be455585e671ae0a2ebc1f2e07775a1722d
post_install() {
vlicense COPYING LICENSE
}
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"
}
}