diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-12-02 10:36:11 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-12-02 14:49:03 +0100 |
| commit | 372b9e99c98d3ef063f6c9059aedf3a8f724c078 (patch) | |
| tree | a9370986f0b008e880ef9140333a6e5f489a1d1b /llvm-core/llvm-common/llvm-common-21.1.7.ebuild | |
| parent | 63b4fd3a21d3bf5a2161ad6c144818eac99ec46d (diff) | |
| download | gentoo-372b9e99c98d3ef063f6c9059aedf3a8f724c078.tar.gz gentoo-372b9e99c98d3ef063f6c9059aedf3a8f724c078.tar.bz2 gentoo-372b9e99c98d3ef063f6c9059aedf3a8f724c078.zip | |
llvm-core/llvm-common: Add 21.1.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'llvm-core/llvm-common/llvm-common-21.1.7.ebuild')
| -rw-r--r-- | llvm-core/llvm-common/llvm-common-21.1.7.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/llvm-core/llvm-common/llvm-common-21.1.7.ebuild b/llvm-core/llvm-common/llvm-common-21.1.7.ebuild new file mode 100644 index 000000000000..135cc3d48049 --- /dev/null +++ b/llvm-core/llvm-common/llvm-common-21.1.7.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp-common llvm.org + +DESCRIPTION="Common files shared between multiple slots of LLVM" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" +IUSE="emacs" + +RDEPEND=" + !llvm-core/llvm:0 +" +BDEPEND=" + emacs? ( >=app-editors/emacs-23.1:* ) +" + +LLVM_COMPONENTS=( llvm/utils ) +llvm.org_set_globals + +SITEFILE="50llvm-gentoo.el" +BYTECOMPFLAGS="-L emacs" + +src_compile() { + default + + use emacs && elisp-compile emacs/*.el +} + +src_install() { + insinto /usr/share/vim/vimfiles + doins -r vim/*/ + # some users may find it useful + newdoc vim/README README.vim + dodoc vim/vimrc + + if use emacs ; then + elisp-install llvm emacs/*.{el,elc} + elisp-make-site-file "${SITEFILE}" llvm + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |
