void-packages/srcpkgs/lcms/template

29 lines
807 B
Bash

# Template file for 'lcms'
pkgname=lcms
version=1.19
revision=10
wrksrc=${pkgname}-${version%[a-z]*}
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="libjpeg-turbo-devel tiff-devel"
short_desc="Light Color Management System -- a color management library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://www.littlecms.com"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=80ae32cb9f568af4dc7ee4d3c05a4c31fc513fc3e31730fed0ce7378237273a9
post_install() {
vlicense COPYING
}
lcms-devel_package() {
depends="libjpeg-turbo-devel tiff-devel lcms>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}