1 |
commit: 3db2539b8ce2daec01cb35730cbd057ff3c528e7 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 4 14:36:05 2020 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 4 14:36:05 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=3db2539b |
7 |
|
8 |
app-editors/atto: Initial import. |
9 |
|
10 |
Ebuild contributed by me. |
11 |
|
12 |
Package-Manager: Portage-3.0.1, Repoman-2.3.23 |
13 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
14 |
|
15 |
app-editors/atto/Manifest | 1 + |
16 |
app-editors/atto/atto-1.20_pre20180320.ebuild | 32 +++++++++++++++++++++++++++ |
17 |
app-editors/atto/metadata.xml | 16 ++++++++++++++ |
18 |
3 files changed, 49 insertions(+) |
19 |
|
20 |
diff --git a/app-editors/atto/Manifest b/app-editors/atto/Manifest |
21 |
new file mode 100644 |
22 |
index 0000000..d675e37 |
23 |
--- /dev/null |
24 |
+++ b/app-editors/atto/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST atto-1.20_pre20180320.tar.gz 188924 BLAKE2B c2963f09cf83f4243050dda2869c784c07e829ff05836ba994871d6cf7a74e54bd5a689c25e70c416d041f49a3247b24ad50e9bb064f819780c661517df30f8a SHA512 9d4ad28f059272255e92eba4f79d9659d798bb6446ce670e49f98602ed738f58742b10106a05d2c935a381384e244b5d7a731e5001f01ae907ad6ea574078174 |
27 |
|
28 |
diff --git a/app-editors/atto/atto-1.20_pre20180320.ebuild b/app-editors/atto/atto-1.20_pre20180320.ebuild |
29 |
new file mode 100644 |
30 |
index 0000000..655cdf2 |
31 |
--- /dev/null |
32 |
+++ b/app-editors/atto/atto-1.20_pre20180320.ebuild |
33 |
@@ -0,0 +1,32 @@ |
34 |
+# Copyright 1999-2020 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+inherit toolchain-funcs |
40 |
+ |
41 |
+COMMIT="1485816cc8e7556c634d2676b3ff17c3b998062a" |
42 |
+DESCRIPTION="The smallest functional Emacs in less than 2000 lines of C" |
43 |
+HOMEPAGE="https://github.com/hughbarney/atto" |
44 |
+SRC_URI="https://github.com/hughbarney/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="public-domain" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+ |
50 |
+DEPEND="sys-libs/ncurses:0=" |
51 |
+RDEPEND="${DEPEND}" |
52 |
+ |
53 |
+S="${WORKDIR}/${PN}-${COMMIT}" |
54 |
+ |
55 |
+src_compile() { |
56 |
+ emake CC="$(tc-getCC)" \ |
57 |
+ CFLAGS="${CFLAGS}" \ |
58 |
+ LD="$(tc-getCC) ${LDFLAGS}" \ |
59 |
+ LIBS="$("$(tc-getPKG_CONFIG)" --libs ncursesw)" |
60 |
+} |
61 |
+ |
62 |
+src_install() { |
63 |
+ dobin atto |
64 |
+ dodoc README.md CHANGE.LOG.md docs/*.txt |
65 |
+} |
66 |
|
67 |
diff --git a/app-editors/atto/metadata.xml b/app-editors/atto/metadata.xml |
68 |
new file mode 100644 |
69 |
index 0000000..03d8f55 |
70 |
--- /dev/null |
71 |
+++ b/app-editors/atto/metadata.xml |
72 |
@@ -0,0 +1,16 @@ |
73 |
+<?xml version="1.0" encoding="UTF-8"?> |
74 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
75 |
+<pkgmetadata> |
76 |
+<maintainer type="project"> |
77 |
+ <email>emacs@g.o</email> |
78 |
+ <name>Gentoo Emacs project</name> |
79 |
+</maintainer> |
80 |
+<longdescription> |
81 |
+ Atto Emacs is a minimal functional Emacs in less than 2000 lines |
82 |
+ of C code. It is derived from Anthony's Editor and uses a buffer-gap |
83 |
+ to represent the file in memory. |
84 |
+</longdescription> |
85 |
+<upstream> |
86 |
+ <remote-id type="github">hughbarney/atto</remote-id> |
87 |
+</upstream> |
88 |
+</pkgmetadata> |