void-packages/srcpkgs/libwebp/template

39 lines
951 B
Plaintext

# Template file for 'libwebp'
pkgname=libwebp
version=0.3.0
revision=3
build_style=gnu-configure
configure_args="--disable-static --enable-libwebpmux
--enable-libwebpdemux --enable-libwebpdecoder"
hostmakedepends="automake libtool"
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=8903fca40ece603b9cb20d32105168da7e2a33bebbd4d89001a3c8741ef03ddb
pre_configure() {
./autogen.sh
}
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
}
libwebp-devel_package() {
depends="libjpeg-turbo-devel libpng-devel>=1.6 libwebp>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
libwebp_package() {
pkg_install() {
vmove all
}
}