void-packages/srcpkgs/openpgl/template

26 lines
749 B
Bash

# Template file for 'openpgl'
pkgname=openpgl
version=0.5.0
revision=2
archs="x86_64*"
build_style=cmake
configure_args="-DOPENPGL_BUILD_TOOLS=On"
makedepends="tbb-devel"
short_desc="Intel(R) Open Path Guiding Library"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/OpenPathGuidingLibrary/openpgl"
distfiles="https://github.com/OpenPathGuidingLibrary/openpgl/archive/refs/tags/v${version}.tar.gz"
checksum=1ec806d434d45e43e098f82ee9be0cb74928343898c57490b34ff80584e9805a
openpgl-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}