void-packages/srcpkgs/lcms2/template

34 lines
769 B
Bash

# Template file for 'lcms2'
pkgname=lcms2
version=2.15
revision=1
build_style=meson
makedepends="tiff-devel"
short_desc="Small-footprint color management engine, version 2"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="MIT"
homepage="https://littlecms.com"
distfiles="${SOURCEFORGE_SITE}/lcms/lcms2-${version}.tar.gz"
checksum=b20cbcbd0f503433be2a4e81462106fa61050a35074dc24a4e356792d971ab39
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/*.so"
}
}
lcms2-tools_package() {
short_desc+=" - bundled tools"
pkg_install() {
vmove usr/bin
vmove usr/share/man
}
}