2014-05-02 16:56:52 +02:00
|
|
|
# Template file for 'openjpeg'
|
|
|
|
pkgname=openjpeg
|
|
|
|
version=1.5.1
|
2014-05-02 17:09:46 +02:00
|
|
|
revision=2
|
2014-05-02 16:56:52 +02:00
|
|
|
build_style=gnu-configure
|
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-05-02 17:07:18 +02:00
|
|
|
short_desc="Open-source JPEG 2000 codec written in C language"
|
|
|
|
configure_args="--disable-static"
|
2014-05-02 16:56:52 +02:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libpng-devel lcms2-devel tiff-devel doxygen"
|
|
|
|
distfiles="http://openjpeg.googlecode.com/files/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum="6cfb3097a1c8e9550131b17663daf927f42707bc3f84196c1390642e87f3ab8d"
|
2014-11-06 13:37:25 +01:00
|
|
|
update_ignore="2.*"
|
2014-05-02 16:56:52 +02:00
|
|
|
|
|
|
|
libopenjpeg-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="libopenjpeg>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
2014-05-02 17:09:46 +02:00
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-05-02 17:10:48 +02:00
|
|
|
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.*"
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|