36 lines
931 B
Bash
36 lines
931 B
Bash
# Template file for 'openjpeg'
|
|
pkgname=openjpeg
|
|
version=1.5.2
|
|
revision=2
|
|
build_style=cmake
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libpng-devel lcms2-devel tiff-devel doxygen"
|
|
short_desc="Open-source JPEG 2000 codec written in C language"
|
|
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
|
license="BSD-2-Clause"
|
|
homepage="http://www.openjpeg.org/"
|
|
distfiles="$SOURCEFORGE_SITE/openjpeg.mirror/${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=15df7b194a5d8dba0052cd21c17a4dc761149a770a907d73fffb972078c28a87
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
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.*"
|
|
}
|
|
}
|