void-packages/srcpkgs/ilmbase/template
2015-01-15 11:16:45 +00:00

29 lines
724 B
Bash

# Template file for 'ilmbase'
pkgname=ilmbase
version=2.2.0
revision=1
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=ecf815b60695555c1fbc73679e84c7c9902f4e8faa6e8000d2f905b8b86cedc7
nocross=yes
LDFLAGS="-lpthread"
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
}
}