2014-05-02 16:56:52 +02:00
|
|
|
# Template file for 'openjpeg'
|
|
|
|
pkgname=openjpeg
|
2014-11-25 10:35:36 +01:00
|
|
|
version=1.5.2
|
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
2014-10-27 18:05:31 +01:00
|
|
|
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
2014-05-02 16:56:52 +02:00
|
|
|
homepage="http://www.openjpeg.org/"
|
|
|
|
license="BSD"
|
2014-11-27 12:17:28 +01:00
|
|
|
short_desc="Open-source JPEG 2000 codec written in C language"
|
2014-05-02 17:07:18 +02:00
|
|
|
configure_args="--disable-static"
|
2014-11-25 10:35:36 +01:00
|
|
|
hostmakedepends="cmake pkg-config"
|
2014-05-02 16:56:52 +02:00
|
|
|
makedepends="libpng-devel lcms2-devel tiff-devel doxygen"
|
2014-11-25 10:35:36 +01:00
|
|
|
distfiles="$SOURCEFORGE_SITE/openjpeg.mirror/${version}/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum="15df7b194a5d8dba0052cd21c17a4dc761149a770a907d73fffb972078c28a87"
|
2014-05-02 16:56:52 +02:00
|
|
|
|
|
|
|
libopenjpeg-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="libopenjpeg>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
2014-11-25 10:35:36 +01:00
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/man/man3
|
2014-05-02 16:56:52 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libopenjpeg_package() {
|
|
|
|
short_desc+=" - library files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so.*"
|
|
|
|
}
|
|
|
|
}
|