summaryrefslogtreecommitdiff
path: root/app-emacs/ocaml-mode/ocaml-mode-4.05.0-r1.ebuild
blob: 2a0606cf5ef59ced789b7d15d5cf0bb6cdd7e679 (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
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_P="${P/-mode/}"

inherit elisp

DESCRIPTION="Emacs mode for OCaml"
HOMEPAGE="https://ocaml.org/"

if [[ "${PV}" == *9999* ]] ; then
	inherit git-r3

	EGIT_REPO_URI="https://github.com/ocaml/ocaml"
else
	SRC_URI="https://github.com/ocaml/ocaml/archive/${PV}.tar.gz
		-> ${MY_P}.tar.gz"
	S="${WORKDIR}/${MY_P}/emacs"

	KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
fi

LICENSE="GPL-2+"
SLOT="0"

DOCS=( README README.itz )
SITEFILE="50${PN}-gentoo-3.12.1.el"