void-packages/srcpkgs/lcms2/template

31 lines
766 B
Bash

# Template build file for 'lcms2'.
pkgname=lcms2
version=2.8
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=8e27f5207204e41c6e7f5aa3c1b92cd89f54b839464b7df4cd0d93b07b16333a
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
}
}