void-packages/srcpkgs/llvm/template

60 lines
1.2 KiB
Bash

# Template file for 'llvm'
pkgname=llvm
version=17
revision=2
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"
}
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"
}