void-packages/srcpkgs/Field3D/template

26 lines
747 B
Bash

# Template file for 'Field3D'
pkgname=Field3D
version=1.7.3
revision=9
build_style=cmake
makedepends="boost-devel hdf5-devel imath-devel libopenexr-devel"
short_desc="Library for storing voxel data on disk and in memory"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/imageworks/Field3D/wiki/Field3D-Home"
distfiles="https://github.com/imageworks/Field3D/archive/refs/tags/v${version}.tar.gz"
checksum=b6168bc27abe0f5e9b8d01af7794b3268ae301ac72b753712df93125d51a0fd4
post_install() {
vlicense COPYING
}
Field3D-devel_package() {
depends="${sourcepkg}>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}