void-packages/srcpkgs/lcms2/template

45 lines
1.1 KiB
Plaintext

# Template build file for 'lcms2'.
pkgname=lcms2
version=2.5
revision=1
build_style=gnu-configure
makedepends="tiff-devel"
short_desc="Small-footprint color management engine, version 2"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.littlecms.com"
license="MIT"
distfiles="${SOURCEFORGE_SITE}/lcms/lcms2-$version.tar.gz"
checksum=6727772b44470a2111dba53b9ce4c952b87e7d1b72a31c5ebdf44ba6eb0aa72b
long_desc="
LCMS2 is the Little Color Management System, a Color Matching Method
(CMM) library which implements fast transforms between ICC profiles.
Color management refers to techniques that ensure consistent color
as images are transferred from scanners or cameras to monitors and
printers."
lcms2-devel_package() {
depends="tiff-devel lcms2>=${version}"
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
}
}
lcms2_package() {
pkg_install() {
vmove usr
}
}