38 lines
881 B
Plaintext
38 lines
881 B
Plaintext
# Template file for 'libwebp'
|
|
pkgname=libwebp
|
|
version=0.2.1
|
|
revision=3
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="automake libtool"
|
|
makedepends="libjpeg-turbo-devel libpng-devel>=1.5.10 tiff-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=894e08b8b0043cf007cc1ca893f33d73784565a6e64b0e7aefb201a687392314
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
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
|
|
}
|
|
}
|