Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/emacs:master commit in: app-editors/femto/
Date: Tue, 04 Aug 2020 14:37:20
Message-Id: 1596551791.20a39376e55a9a9778e391d9b050c3b9acea087f.ulm@gentoo
1 commit: 20a39376e55a9a9778e391d9b050c3b9acea087f
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 4 14:36:31 2020 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 4 14:36:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=20a39376
7
8 app-editors/femto: 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/femto/Manifest | 1 +
16 app-editors/femto/femto-2.10_pre20191107.ebuild | 34 +++++++++++++++++++++++++
17 app-editors/femto/metadata.xml | 11 ++++++++
18 3 files changed, 46 insertions(+)
19
20 diff --git a/app-editors/femto/Manifest b/app-editors/femto/Manifest
21 new file mode 100644
22 index 0000000..32c74a9
23 --- /dev/null
24 +++ b/app-editors/femto/Manifest
25 @@ -0,0 +1 @@
26 +DIST femto-2.10_pre20191107.tar.gz 578713 BLAKE2B 18951dc30c23ca3ae89e07af60a284f2d47d560b4ccd9076b86df834916f2148885b00d82da54a16f07444fd4121c428c9161a7cd445afbb9669f6cc93e0fb8b SHA512 6364ed29d8b98904dab42a0ebb7e12442ae095fafbb6ba2265f4909fd91d5f0e47950e04a2e2775020e45aab69c88cb5927b62883417e36bac0f94dea6441411
27
28 diff --git a/app-editors/femto/femto-2.10_pre20191107.ebuild b/app-editors/femto/femto-2.10_pre20191107.ebuild
29 new file mode 100644
30 index 0000000..b2086fa
31 --- /dev/null
32 +++ b/app-editors/femto/femto-2.10_pre20191107.ebuild
33 @@ -0,0 +1,34 @@
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="282ca3c04dba54f180021388102c2e319300cd07"
42 +DESCRIPTION="Extended version of Atto Emacs with a Tiny Lisp extension language"
43 +HOMEPAGE="https://github.com/hughbarney/femto"
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)" \
59 + LDFLAGS="${LDFLAGS} -o" \
60 + LIBS="$("$(tc-getPKG_CONFIG)" --libs ncursesw)"
61 +}
62 +
63 +src_install() {
64 + dobin femto
65 + dodoc README*.md CHANGE.LOG.md docs/*.txt docs/hltest.c
66 + dodoc -r examples
67 +}
68
69 diff --git a/app-editors/femto/metadata.xml b/app-editors/femto/metadata.xml
70 new file mode 100644
71 index 0000000..45aec74
72 --- /dev/null
73 +++ b/app-editors/femto/metadata.xml
74 @@ -0,0 +1,11 @@
75 +<?xml version="1.0" encoding="UTF-8"?>
76 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
77 +<pkgmetadata>
78 +<maintainer type="project">
79 + <email>emacs@g.o</email>
80 + <name>Gentoo Emacs project</name>
81 +</maintainer>
82 +<upstream>
83 + <remote-id type="github">hughbarney/femto</remote-id>
84 +</upstream>
85 +</pkgmetadata>