From 3db2539b8ce2daec01cb35730cbd057ff3c528e7 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Tue, 4 Aug 2020 16:36:05 +0200 Subject: app-editors/atto: Initial import. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ebuild contributed by me. Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Ulrich Müller --- app-editors/atto/Manifest | 1 + app-editors/atto/atto-1.20_pre20180320.ebuild | 32 +++++++++++++++++++++++++++ app-editors/atto/metadata.xml | 16 ++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 app-editors/atto/Manifest create mode 100644 app-editors/atto/atto-1.20_pre20180320.ebuild create mode 100644 app-editors/atto/metadata.xml diff --git a/app-editors/atto/Manifest b/app-editors/atto/Manifest new file mode 100644 index 0000000..d675e37 --- /dev/null +++ b/app-editors/atto/Manifest @@ -0,0 +1 @@ +DIST atto-1.20_pre20180320.tar.gz 188924 BLAKE2B c2963f09cf83f4243050dda2869c784c07e829ff05836ba994871d6cf7a74e54bd5a689c25e70c416d041f49a3247b24ad50e9bb064f819780c661517df30f8a SHA512 9d4ad28f059272255e92eba4f79d9659d798bb6446ce670e49f98602ed738f58742b10106a05d2c935a381384e244b5d7a731e5001f01ae907ad6ea574078174 diff --git a/app-editors/atto/atto-1.20_pre20180320.ebuild b/app-editors/atto/atto-1.20_pre20180320.ebuild new file mode 100644 index 0000000..655cdf2 --- /dev/null +++ b/app-editors/atto/atto-1.20_pre20180320.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +COMMIT="1485816cc8e7556c634d2676b3ff17c3b998062a" +DESCRIPTION="The smallest functional Emacs in less than 2000 lines of C" +HOMEPAGE="https://github.com/hughbarney/atto" +SRC_URI="https://github.com/hughbarney/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="sys-libs/ncurses:0=" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-${COMMIT}" + +src_compile() { + emake CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LD="$(tc-getCC) ${LDFLAGS}" \ + LIBS="$("$(tc-getPKG_CONFIG)" --libs ncursesw)" +} + +src_install() { + dobin atto + dodoc README.md CHANGE.LOG.md docs/*.txt +} diff --git a/app-editors/atto/metadata.xml b/app-editors/atto/metadata.xml new file mode 100644 index 0000000..03d8f55 --- /dev/null +++ b/app-editors/atto/metadata.xml @@ -0,0 +1,16 @@ + + + + + emacs@gentoo.org + Gentoo Emacs project + + + Atto Emacs is a minimal functional Emacs in less than 2000 lines + of C code. It is derived from Anthony's Editor and uses a buffer-gap + to represent the file in memory. + + + hughbarney/atto + + -- cgit v1.2.3-65-gdbad