void-packages/srcpkgs/llvm/template

81 lines
1.6 KiB
Bash

# Template file for 'llvm'
pkgname=llvm
version=17
revision=5
build_style=meta
depends="llvm${version}"
short_desc="LLVM meta package"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="Public Domain"
homepage="https://www.voidlinux.org"
replaces="llvm15>=0 llvm12>=0 llvm11>=0 llvm10>=0 llvm9>=0 llvm8>=0 llvm7>=0 llvm6.0>=0 llvm3.9>=0"
clang_package() {
build_style=meta
depends="clang${version}>=0"
short_desc+=" - clang"
}
clang-tools-extra_package() {
build_style=meta
depends="clang-tools-extra${version}>=0"
short_desc+=" - clang-tools-extra"
}
clang-analyzer_package() {
build_style=meta
depends="clang-analyzer${version}>=0"
short_desc+=" - clang-analyzer"
}
lld_package() {
build_style=meta
depends="lld${version}>=0"
short_desc+=" - lld"
}
lldb_package() {
build_style=meta
depends="lldb${version}>=0"
short_desc+=" - lldb"
}
compiler-rt_package() {
reverts="17.0.6_1 17.0.6_2"
build_style=meta
depends="compiler-rt${version}>=0"
short_desc+=" - compiler-rt"
}
libclang_package() {
build_style=meta
depends="libclang${version}>=0"
short_desc+=" - transitional meta package"
}
libclang-cpp_package() {
build_style=meta
depends="libclang-cpp${version}>=0"
short_desc+=" - transitional meta package"
}
libllvm_package() {
build_style=meta
depends="libllvm${version}>=0"
short_desc+=" - transitional meta package"
}
libomp_package() {
reverts="17.0.6_1 17.0.6_2"
build_style=meta
depends="libomp${version}>=0"
short_desc+=" - transitional meta package"
}
libomp-devel_package() {
reverts="17.0.6_1 17.0.6_2"
build_style=meta
depends="libomp${version}-devel>=0"
short_desc+=" - transitional meta package"
}