void-packages/srcpkgs/lcms2/template

35 lines
799 B
Bash

# Template file for 'lcms2'
pkgname=lcms2
version=2.14
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=28474ea6f6591c4d4cee972123587001a4e6e353412a41b3e9e82219818d5740
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
}
}