mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-17 07:28:38 +00:00
Upstream did not use a consistent versioning scheme. Releases progressed like this: 2.43 -> 2.5 -> 2.6.0 -> .. -> 2.7.0 -> 2.7.1 -> 2.8 -> 2.81 -> 2.82 Gentoo versioning was changed from version 2.70 to 2.7.0 (see commit f90946f91c88 in archive/repo/gentoo-2.git) with the rationale: "change Ebuild name, so we can get rid of MY_PV variable". The current e3 announces itself as "MicroEditor e3 v2.82-UTF8", and both the tarball and its top-level directory are named e3-2.82. If upstream should ever publish a 2.9 release, we could use 2.90 as package version. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
41 lines
920 B
Bash
41 lines
920 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="Very tiny editor in ASM with emacs, pico, wordstar, and vi keybindings"
|
|
HOMEPAGE="https://sites.google.com/site/e3editor/"
|
|
SRC_URI="https://sites.google.com/site/e3editor/Home/${P}.tgz"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="-* amd64 x86"
|
|
|
|
BDEPEND=">=dev-lang/nasm-2.09.04"
|
|
|
|
PATCHES=("${FILESDIR}"/${P}-makefile.patch)
|
|
|
|
# Suppress false positive QA warnings #726484 #924244
|
|
QA_FLAGS_IGNORED="/usr/bin/e3"
|
|
QA_PRESTRIPPED="/usr/bin/e3"
|
|
|
|
src_compile() {
|
|
emake -- $(usev amd64 64 || usev x86 32 || die) \
|
|
LD="$(tc-getLD)" DEBUG=true
|
|
}
|
|
|
|
src_install() {
|
|
dobin e3
|
|
dosym e3 /usr/bin/e3em
|
|
dosym e3 /usr/bin/e3ne
|
|
dosym e3 /usr/bin/e3pi
|
|
dosym e3 /usr/bin/e3vi
|
|
dosym e3 /usr/bin/e3ws
|
|
|
|
newman e3.man e3.1
|
|
dodoc ChangeLog README README.v2.7.1
|
|
docinto html
|
|
dodoc e3.html
|
|
}
|