2014-05-04 17:15:04 +00:00
|
|
|
# Template file for 'openexr'
|
|
|
|
pkgname=openexr
|
2014-10-28 11:54:00 +00:00
|
|
|
version=2.2.0
|
|
|
|
revision=1
|
2014-05-04 17:15:04 +00:00
|
|
|
build_style=gnu-configure
|
2014-10-27 17:05:31 +00:00
|
|
|
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
2014-05-04 17:15:04 +00:00
|
|
|
homepage="http://www.openexr.com/"
|
|
|
|
license="BSD"
|
2014-05-05 06:31:24 +00:00
|
|
|
short_desc="High dynamic-range (HDR) image file format"
|
|
|
|
hostmakedepends="pkg-config"
|
2014-10-28 11:54:00 +00:00
|
|
|
makedepends="ilmbase-devel>=2.2.0 zlib-devel"
|
2014-05-04 17:15:04 +00:00
|
|
|
distfiles="http://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${version}.tar.gz"
|
2014-10-28 11:54:00 +00:00
|
|
|
checksum="36a012f6c43213f840ce29a8b182700f6cf6b214bea0d5735594136b44914231"
|
2014-05-04 17:15:04 +00:00
|
|
|
|
2014-05-05 06:31:24 +00:00
|
|
|
LDFLAGS="-lrt"
|
|
|
|
|
2014-05-04 17:15:04 +00:00
|
|
|
post_install(){
|
|
|
|
# license
|
2014-05-05 06:31:24 +00: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 17:15:04 +00:00
|
|
|
}
|