void-packages/srcpkgs/lcms2/template

35 lines
805 B
Bash

# Template build file for 'lcms2'.
pkgname=lcms2
version=2.9
revision=2
build_style=gnu-configure
makedepends="tiff-devel"
short_desc="Small-footprint color management engine, version 2"
maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="http://www.littlecms.com"
license="MIT"
distfiles="${SOURCEFORGE_SITE}/lcms/lcms2-$version.tar.gz"
checksum=48c6fdf98396fa245ed86e622028caf49b96fa22f3e5734f853f806fbc8e7d20
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
}
}