void-packages/srcpkgs/lcms2/template
2021-04-03 16:22:59 -03:00

34 lines
799 B
Bash

# Template file for 'lcms2'
pkgname=lcms2
version=2.12
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=18663985e864100455ac3e507625c438c3710354d85e5cbb7cd4043e11fe10f5
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
}
}