summaryrefslogtreecommitdiff
path: root/app-editors/jupp/jupp-3.1_p41-r1.ebuild
blob: 4c1d5bab903f3b13716349c0c7975850d1ddade2 (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 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

DESCRIPTION="Portable version of Joe's Own Editor"
HOMEPAGE="http://www.mirbsd.org/jupp.htm"
SRC_URI="http://www.mirbsd.org/MirOS/dist/${PN}/joe-${PV/_p/jupp}.tgz"
S="${WORKDIR}/${PN}"

LICENSE="GPL-1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ncurses selinux"

DEPEND="ncurses? ( sys-libs/ncurses:0= )
	selinux? ( sys-libs/libselinux )"
RDEPEND="!app-editors/joe
	${DEPEND}"

DOCS="HINTS INFO LIST NEWS README TODO"

src_configure() {
	chmod +x configure || die
	econf \
		--enable-search_libs \
		--enable-termcap \
		$(use_enable ncurses curses) \
		$(use_enable selinux) \
		CFLAGS="-std=gnu17 ${CFLAGS}"
}