void-packages/srcpkgs/libwebp/template
2015-11-01 08:50:37 +01:00

32 lines
918 B
Bash

# Template file for 'libwebp'
pkgname=libwebp
version=0.4.4
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-libwebpmux
--enable-libwebpdemux --enable-libwebpdecoder"
hostmakedepends="automake libtool pkg-config"
makedepends="libjpeg-turbo-devel libpng-devel tiff-devel giflib-devel"
short_desc="WebP image format"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://developers.google.com/speed/webp/"
license="BSD"
distfiles="http://downloads.webmproject.org/releases/webp/${pkgname}-${version}.tar.gz"
checksum=c65d34edb57338e331ba4d622227a2b3179444cfca17d02c34f1ead63f603e86
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense COPYING LICENSE
}
libwebp-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}