2014-05-04 19:15:04 +02:00
|
|
|
# Template file for 'openexr'
|
|
|
|
pkgname=openexr
|
|
|
|
version=2.1.0
|
2014-05-05 08:31:24 +02:00
|
|
|
revision=2
|
2014-05-04 19:15:04 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
|
|
|
homepage="http://www.openexr.com/"
|
|
|
|
license="BSD"
|
2014-05-05 08:31:24 +02:00
|
|
|
short_desc="High dynamic-range (HDR) image file format"
|
|
|
|
hostmakedepends="pkg-config"
|
2014-05-04 19:15:04 +02:00
|
|
|
makedepends="ilmbase-devel zlib-devel"
|
|
|
|
distfiles="http://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum="54486b454073c1dcb5ae9892cf0f730ffefe62f38176325281505093fd218a14"
|
|
|
|
|
2014-05-05 08:31:24 +02:00
|
|
|
LDFLAGS="-lrt"
|
|
|
|
|
2014-05-04 19:15:04 +02:00
|
|
|
post_install(){
|
|
|
|
# license
|
2014-05-05 08:31:24 +02:00
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|
|
|
|
|
|
|
|
libopenexr_package() {
|
|
|
|
short_desc+=" - runtime libraries"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/*.so.*
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libopenexr-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="zlib-devel ilmbase-devel libopenexr>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share
|
|
|
|
}
|
2014-05-04 19:15:04 +02:00
|
|
|
}
|