void-packages/srcpkgs/lcms2/template

30 lines
755 B
Bash

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