void-packages/srcpkgs/libomp/template

24 lines
710 B
Bash

# Template file for 'libomp'
pkgname=libomp
version=8.0.0
revision=1
wrksrc="openmp-${version}.src"
build_style=cmake
configure_args="-DLIBOMP_ENABLE_SHARED=ON -DLIBOMP_INSTALL_ALIASES=OFF"
hostmakedepends="perl pkg-config"
makedepends="elfutils-devel libffi-devel"
short_desc="LLVM OpenMP Runtime Library"
maintainer="Andy Weidenbaum <archbaum@gmail.com>"
license="NCSA"
homepage="https://openmp.llvm.org"
distfiles="https://releases.llvm.org/${version}/openmp-${version}.src.tar.xz"
checksum=f7b1705d2f16c4fc23d6531f67d2dd6fb78a077dd346b02fed64f4b8df65c9d5
libomp-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
}
}