33 lines
893 B
Bash
33 lines
893 B
Bash
# Template file for 'openjpeg2'
|
|
pkgname=openjpeg2
|
|
version=2.5.0
|
|
revision=2
|
|
build_style=cmake
|
|
makedepends="libpng-devel lcms2-devel tiff-devel"
|
|
short_desc="Open-source JPEG 2000 codec written in C language (Version 2)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="http://www.openjpeg.org/"
|
|
distfiles="https://github.com/uclouvain/openjpeg/archive/v${version}.tar.gz"
|
|
checksum=0333806d6adecc6f7a91243b2b839ff4d2053823634d4f6ed7a59bc87409122a
|
|
|
|
libopenjpeg2-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libopenjpeg2>=${version}_${revision} ${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/openjpeg-2.*"
|
|
vmove "usr/lib/*.a"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
|
|
libopenjpeg2_package() {
|
|
short_desc+=" - library files"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
vlicense LICENSE
|
|
}
|
|
}
|