void-packages/srcpkgs/libomp/template

27 lines
783 B
Bash
Raw Normal View History

2018-10-20 18:01:21 +00:00
# Template file for 'libomp'
pkgname=libomp
version=7.0.1
revision=1
wrksrc="openmp-${version}.src"
build_style=cmake
configure_args="-DLIBOMP_ENABLE_SHARED=ON"
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=bf16b78a678da67d68405214ec7ee59d86a15f599855806192a75dcfca9b0d0c
libomp-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
# libgomp.so is also provided by libgomp-devel
conflicts="libgomp-devel"
pkg_install() {
vmove usr/include
vmove usr/lib/libgomp.so
}
}