Сравнение org-mode-9.6.9 с org-mode-9999
/usr/portage/app-emacs/org-mode/org-mode-9999.ebuild 2023-10-09 14:52:28.704368330 +0300 | ||
---|---|---|
5 | 5 | |
6 | 6 |
inherit elisp readme.gentoo-r1 |
7 | 7 | |
8 |
MY_P="${PN}-release_${PV}" |
|
8 |
if [[ ${PV} == 9999 ]]; then |
|
9 |
EGIT_REPO_URI="https://git.savannah.gnu.org/git/emacs/${PN}.git" |
|
10 |
EGIT_CHECKOUT_DIR="${WORKDIR}/org" |
|
11 |
inherit git-r3 |
|
12 |
S="${WORKDIR}/org" |
|
13 |
else |
|
14 |
MY_P="${PN}-release_${PV}" |
|
15 |
SRC_URI="https://git.savannah.gnu.org/cgit/emacs/${PN}.git/snapshot/${MY_P}.tar.gz" |
|
16 |
S="${WORKDIR}/${MY_P}" |
|
17 |
KEYWORDS="~amd64 ~ppc ~x86" |
|
18 |
fi |
|
19 | ||
9 | 20 |
DESCRIPTION="An Emacs mode for notes and project planning" |
10 | 21 |
HOMEPAGE="https://www.orgmode.org/" |
11 |
SRC_URI="https://git.savannah.gnu.org/cgit/emacs/${PN}.git/snapshot/${MY_P}.tar.gz" |
|
12 |
S="${WORKDIR}"/${MY_P} |
|
13 | 22 | |
14 | 23 |
LICENSE="GPL-3+ FDL-1.3+ CC-BY-SA-3.0 odt-schema? ( OASIS-Open )" |
15 | 24 |
SLOT="0" |
16 |
KEYWORDS="~amd64 ~ppc ~x86" |
|
17 | 25 |
IUSE="doc odt-schema" |
18 | 26 |
RESTRICT="test" |
19 | 27 | |
... | ... | |
22 | 30 |
SITEFILE="50${PN}-gentoo.el" |
23 | 31 | |
24 | 32 |
src_compile() { |
25 |
emake -j1 \ |
|
26 |
ORGVERSION=${PV} \ |
|
27 |
datadir="${EPREFIX}${SITEETC}/${PN}" |
|
28 |
use doc && emake -j1 pdf card |
|
33 |
emake datadir="${EPREFIX}${SITEETC}/${PN}" |
|
34 |
use doc && emake pdf card |
|
29 | 35 |
} |
30 | 36 | |
31 | 37 |
src_install() { |
32 | 38 |
emake \ |
33 |
ORGVERSION=${PV} \ |
|
34 | 39 |
DESTDIR="${D}" \ |
35 | 40 |
ETCDIRS="styles csl $(use odt-schema && echo schema)" \ |
36 | 41 |
lispdir="${EPREFIX}${SITELISP}/${PN}" \ |