void-packages/srcpkgs/libwebp/template

30 lines
888 B
Bash
Raw Normal View History

2011-08-10 13:34:30 +00:00
# Template file for 'libwebp'
pkgname=libwebp
2015-03-12 11:04:29 +00:00
version=0.4.3
2014-10-25 10:38:17 +00:00
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 tiff-devel giflib-devel"
2011-08-10 13:34:30 +00:00
short_desc="WebP image format"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://developers.google.com/speed/webp/"
2011-08-10 13:34:30 +00:00
license="BSD"
distfiles="http://downloads.webmproject.org/releases/webp/${pkgname}-${version}.tar.gz"
2015-03-12 11:04:29 +00:00
checksum=efbe0d58fda936f2ed99d0b837ed7087d064d6838931f282c4618d2a3f7390c4
2011-08-10 13:34:30 +00:00
post_install() {
vlicense COPYING LICENSE
2011-08-10 13:34:30 +00:00
}
libwebp-devel_package() {
depends="libjpeg-turbo-devel libpng-devel>=1.6 ${sourcepkg}>=${version}_${revision}"
2013-04-30 09:34:02 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-06-28 05:13:50 +00:00
vmove "usr/lib/*.so"
}
}