# Template file for 'ilmbase'
pkgname=ilmbase
version=2.1.0
revision=2
build_style=gnu-configure
short_desc="Base libraries from ILM for OpenEXR"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.openexr.com"
distfiles="http://download.savannah.nongnu.org/releases/openexr/$pkgname-$version.tar.gz"
checksum=1e841ad89c5761940b07a125e6909ad22fe9fe0f99eadef45e0cca4efc6819b4
nocross=yes

post_install() {
	vinstall COPYING 644 usr/share/licenses/${pkgname}
}

ilmbase-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.a
		vmove usr/lib/*.so
		vmove usr/lib/pkgconfig
	}
}
