summaryrefslogtreecommitdiff
blob: dfa4872cb5cc10063ffef8a595ec697a85ad9f38 (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
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit elisp

DESCRIPTION="Frame configuration management for GNU Emacs modelled after GNU Screen"
HOMEPAGE="https://www.emacswiki.org/emacs/EmacsLispScreen
	https://github.com/knu/elscreen"
SRC_URI="https://github.com/knu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2+ GPL-3+"
SLOT="0"
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
IUSE="wanderlust"

RDEPEND="wanderlust? ( app-emacs/wanderlust )"
BDEPEND="${RDEPEND}"

SITEFILE="50${PN}-gentoo-${PV}.el"
ELISP_REMOVE="elscreen-dnd.el"	# does not compile
DOCS="Readme.md GF-README GF-QuickStart"

src_prepare() {
	elisp_src_prepare
	use wanderlust || rm elscreen-wl.el || die
}