mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-editors/jove: add 4.17.5.5
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST jove-4.17.5.3.tar.gz 548835 BLAKE2B 12b1f16d82e84cc2d099e2f45f5a42e2d1e811e5a9685c7ee162280ef49ecef8f7955a98679b60c49bbeaa30e3a430b1d6fc969270bee02862ff284a932829d9 SHA512 f91bdf3145ad243cfe8a4d9aca497a3d2cc58711488fa6b845d0d5e70dece6939046743aae1f18fd2614d75420bb747b00e61bb60b13ff35b26409068df40127
|
||||
DIST jove-4.17.5.5.tar.gz 551600 BLAKE2B 422b0645743d6049344a18c372c9aa155e229def854bc5206bd5f027341c6beb5b01fb52c0df4bd849abb208dee98683078dc6523cbbf9d56304712713b19ac4 SHA512 b432d157ed28c919be123ce56d93fe1fc4a34a04a2c1bb126d1416b5db74be7015128e63803cdd27675ecf6f4a4a30b4442f1aeec6690ee1a1f7f3b76af3b25d
|
||||
|
||||
45
app-editors/jove/jove-4.17.5.5.ebuild
Normal file
45
app-editors/jove/jove-4.17.5.5.ebuild
Normal file
@@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Jonathan's Own Version of Emacs, a light emacs-like editor without LISP bindings"
|
||||
HOMEPAGE="https://github.com/jonmacs/jove"
|
||||
SRC_URI="https://github.com/jonmacs/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="JOVE"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
|
||||
myopts=(
|
||||
JOVEHOME="${EPREFIX}/usr" \
|
||||
JMANDIR="${EPREFIX}/usr/share/man/man1" \
|
||||
JDOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
OPTFLAGS="-std=gnu17 ${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
LDLIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)" \
|
||||
SYSDEFS="-DLinux" \
|
||||
$(usev !doc FREFDOCS="")
|
||||
)
|
||||
emake "${myopts[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# The Makefile triggers a rebuild if any of the options have changed
|
||||
# (see recipe for keys.c). So we must pass identical options even if
|
||||
# they're not needed for installation.
|
||||
emake "${myopts[@]}" DESTDIR="${D}" install
|
||||
|
||||
keepdir /var/lib/jove/preserve
|
||||
dodoc README
|
||||
}
|
||||
Reference in New Issue
Block a user