void-packages/srcpkgs/lcms2/template
2020-12-09 12:27:44 -03:00

34 lines
799 B
Bash

# Template file for 'lcms2'
pkgname=lcms2
version=2.11
revision=1
build_style=gnu-configure
makedepends="tiff-devel"
short_desc="Small-footprint color management engine, version 2"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://littlecms.com"
distfiles="${SOURCEFORGE_SITE}/lcms/lcms2-${version}.tar.gz"
checksum=dc49b9c8e4d7cdff376040571a722902b682a795bf92985a85b48854c270772e
post_install() {
vlicense COPYING
}
lcms2-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}
lcms2-tools_package() {
short_desc+=" - bundled tools"
pkg_install() {
vmove usr/bin
vmove usr/share/man
}
}