40 lines
1.0 KiB
Bash
40 lines
1.0 KiB
Bash
# Template file for 'libwebp'
|
|
pkgname=libwebp
|
|
version=0.5.0
|
|
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 libfreeglut-devel"
|
|
short_desc="WebP image format"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="https://developers.google.com/speed/webp/"
|
|
license="3-clause-BSD"
|
|
distfiles="http://downloads.webmproject.org/releases/webp/${pkgname}-${version}.tar.gz"
|
|
checksum=5cd3bb7b623aff1f4e70bd611dc8dbabbf7688fd5eb225b32e02e09e37dfb274
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
post_install() {
|
|
vlicense COPYING LICENSE
|
|
}
|
|
|
|
libwebp-tools_package() {
|
|
short_desc+=" - tools"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
vmove usr/share/man
|
|
}
|
|
}
|
|
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
|
|
}
|
|
}
|