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