blob: c894e649c2b9c28a72254da237b926de8332c37a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGIT_REPO_URI="https://git.kernel.org/pub/scm/editors/uemacs/uemacs.git"
EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}"
inherit git-r3 toolchain-funcs
DESCRIPTION="uEmacs/PK is an enhanced version of MicroEMACS"
HOMEPAGE="https://git.kernel.org/pub/scm/editors/uemacs/uemacs.git"
S="${WORKDIR}/${PN}"
LICENSE="free-noncomm"
SLOT="0"
RDEPEND="sys-libs/ncurses:0="
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_compile() {
emake V=1 \
CC="$(tc-getCC)" \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" \
LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
}
src_install() {
dobin em
insinto /usr/share/${PN}
doins emacs.hlp
newins emacs.rc .emacsrc
dodoc README readme.39e emacs.ps UTF-8-demo.txt
}
|