void-packages/srcpkgs/lcms2/template
2022-02-05 00:07:49 +01:00

34 lines
801 B
Bash

# Template file for 'lcms2'
pkgname=lcms2
version=2.13.1
revision=1
build_style=gnu-configure
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=d473e796e7b27c5af01bd6d1552d42b45b43457e7182ce9903f38bb748203b88
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
}
}