void-packages/srcpkgs/openexr/template

41 lines
1010 B
Bash

# Template file for 'openexr'
pkgname=openexr
version=2.2.0
revision=2
build_style=gnu-configure
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.openexr.com/"
license="BSD"
short_desc="High dynamic-range (HDR) image file format"
hostmakedepends="pkg-config"
makedepends="ilmbase-devel zlib-devel"
distfiles="http://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${version}.tar.gz"
checksum="36a012f6c43213f840ce29a8b182700f6cf6b214bea0d5735594136b44914231"
# XXX
nocross="http://build.voidlinux.eu/builders/armv7l-musl_builder/builds/3335/steps/shell_3/logs/stdio"
LDFLAGS="-lrt"
post_install(){
vlicense LICENSE
}
libopenexr_package() {
short_desc+=" - runtime libraries"
pkg_install() {
vmove usr/lib/*.so.*
}
}
libopenexr-devel_package() {
short_desc+=" - development files"
depends="${makedepends} libopenexr>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share
}
}