void-packages/srcpkgs/openjpeg/template

34 lines
963 B
Plaintext

# Template file for 'openjpeg'
pkgname=openjpeg
version=1.5.2
revision=1
build_style=cmake
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
homepage="http://www.openjpeg.org/"
license="BSD"
short_desc="Open-source JPEG 2000 codec written in C language"
configure_args="--disable-static"
hostmakedepends="cmake pkg-config"
makedepends="libpng-devel lcms2-devel tiff-devel doxygen"
distfiles="$SOURCEFORGE_SITE/openjpeg.mirror/${version}/${pkgname}-${version}.tar.gz"
checksum="15df7b194a5d8dba0052cd21c17a4dc761149a770a907d73fffb972078c28a87"
update_ignore="2.*"
libopenjpeg-devel_package() {
short_desc+=" - development files"
depends="libopenjpeg>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}
libopenjpeg_package() {
short_desc+=" - library files"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}