blob: 5cbb51651d61d6c9656c0c80556fdc461efe217b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp
DESCRIPTION="GNU Emacs mode for handling Ninja build files"
HOMEPAGE="https://github.com/ninja-build/ninja/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ninja-build/${PN/-mode}.git"
else
SRC_URI="https://github.com/ninja-build/${PN/-mode}/archive/v${PV}.tar.gz
-> ${P/-mode}.tar.gz"
S="${WORKDIR}/${P/-mode}/misc"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
fi
LICENSE="Apache-2.0"
SLOT="0"
RDEPEND="
!<dev-build/ninja-1.11.1-r4[emacs(-)]
"
DOCS=()
SITEFILE="50${PN}-gentoo-r1.el"
|