libomp: remove conflict with libgomp-devel
This commit is contained in:
parent
4a85b4e821
commit
aa86725b4b
1 changed files with 6 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libomp'
|
# Template file for 'libomp'
|
||||||
pkgname=libomp
|
pkgname=libomp
|
||||||
version=7.0.1
|
version=7.0.1
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="openmp-${version}.src"
|
wrksrc="openmp-${version}.src"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DLIBOMP_ENABLE_SHARED=ON"
|
configure_args="-DLIBOMP_ENABLE_SHARED=ON"
|
||||||
|
@ -14,13 +14,15 @@ homepage="https://openmp.llvm.org"
|
||||||
distfiles="https://releases.llvm.org/${version}/openmp-${version}.src.tar.xz"
|
distfiles="https://releases.llvm.org/${version}/openmp-${version}.src.tar.xz"
|
||||||
checksum=bf16b78a678da67d68405214ec7ee59d86a15f599855806192a75dcfca9b0d0c
|
checksum=bf16b78a678da67d68405214ec7ee59d86a15f599855806192a75dcfca9b0d0c
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
# libgomp.so is also provided by libgomp-devel, fix conflict
|
||||||
|
rm ${PKGDESTDIR}/usr/lib/libgomp.so
|
||||||
|
}
|
||||||
|
|
||||||
libomp-devel_package() {
|
libomp-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="${sourcepkg}-${version}_${revision}"
|
depends="${sourcepkg}-${version}_${revision}"
|
||||||
# libgomp.so is also provided by libgomp-devel
|
|
||||||
conflicts="libgomp-devel"
|
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/libgomp.so
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue