void-packages/srcpkgs/libwebp/template

38 lines
881 B
Plaintext
Raw Normal View History

2011-08-10 15:34:30 +02:00
# Template file for 'libwebp'
pkgname=libwebp
2013-04-23 11:26:05 +02:00
version=0.3.0
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake libtool"
makedepends="libjpeg-turbo-devel libpng-devel>=1.5.10 tiff-devel"
2011-08-10 15:34:30 +02:00
short_desc="WebP image format"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/speed/webp/"
license="BSD"
2012-06-06 10:05:24 +02:00
distfiles="http://webp.googlecode.com/files/${pkgname}-${version}.tar.gz"
2013-04-23 11:26:05 +02:00
checksum=8903fca40ece603b9cb20d32105168da7e2a33bebbd4d89001a3c8741ef03ddb
2011-08-10 15:34:30 +02:00
pre_configure() {
2011-08-10 15:34:30 +02:00
./autogen.sh
}
post_install() {
2011-08-10 15:34:30 +02:00
vinstall COPYING 644 usr/share/licenses/${pkgname}
}
libwebp-devel_package() {
depends="libjpeg-turbo-devel libpng-devel libwebp>=${version}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
libwebp_package() {
pkg_install() {
vmove usr
}
}