void-packages/srcpkgs/ilmbase/template

30 lines
727 B
Bash
Raw Normal View History

2014-05-04 15:29:35 +00:00
# Template file for 'ilmbase'
pkgname=ilmbase
2014-10-28 11:49:28 +00:00
version=2.2.0
revision=1
2014-05-04 15:29:35 +00:00
build_style=gnu-configure
short_desc="Base libraries from ILM for OpenEXR"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-05-04 15:29:35 +00:00
license="BSD"
homepage="http://www.openexr.com"
distfiles="http://download.savannah.nongnu.org/releases/openexr/$pkgname-$version.tar.gz"
2014-10-28 11:49:28 +00:00
checksum=ecf815b60695555c1fbc73679e84c7c9902f4e8faa6e8000d2f905b8b86cedc7
nocross=yes
2014-05-04 15:29:35 +00:00
2014-10-28 11:49:28 +00:00
LDFLAGS="-lpthread"
2014-05-04 15:29:35 +00:00
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
}
}