void-packages/srcpkgs/libwebp/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

29 lines
885 B
Bash

# Template file for 'libwebp'
pkgname=libwebp
version=0.4.3
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"
short_desc="WebP image format"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://developers.google.com/speed/webp/"
license="BSD"
distfiles="http://downloads.webmproject.org/releases/webp/${pkgname}-${version}.tar.gz"
checksum=efbe0d58fda936f2ed99d0b837ed7087d064d6838931f282c4618d2a3f7390c4
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"
}
}