diff options
author | Ulrich Müller <ulm@gentoo.org> | 2020-08-04 16:36:05 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2020-08-04 16:36:05 +0200 |
commit | 3db2539b8ce2daec01cb35730cbd057ff3c528e7 (patch) | |
tree | 75f3e10627b34393f916b7ed705c88d56b154cbd | |
parent | elisp-common.eclass: Support installation of dynamic modules. (diff) | |
download | emacs-3db2539b8ce2daec01cb35730cbd057ff3c528e7.tar.gz emacs-3db2539b8ce2daec01cb35730cbd057ff3c528e7.tar.bz2 emacs-3db2539b8ce2daec01cb35730cbd057ff3c528e7.zip |
app-editors/atto: Initial import.
Ebuild contributed by me.
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | app-editors/atto/Manifest | 1 | ||||
-rw-r--r-- | app-editors/atto/atto-1.20_pre20180320.ebuild | 32 | ||||
-rw-r--r-- | app-editors/atto/metadata.xml | 16 |
3 files changed, 49 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>emacs@gentoo.org</email> + <name>Gentoo Emacs project</name> +</maintainer> +<longdescription> + 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. +</longdescription> +<upstream> + <remote-id type="github">hughbarney/atto</remote-id> +</upstream> +</pkgmetadata> |