blob: 14abfe287ad38205e2a7fb8a8f9f58076fe2abff (
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
36
37
38
39
40
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
inherit toolchain-funcs
DESCRIPTION="An easy to use text editor. Intended to be usable with little or no instruction"
HOMEPAGE="http://mahon.cwx.net/"
SRC_URI="http://mahon.cwx.net/sources/${P}.src.tgz"
LICENSE="Artistic"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~mips ppc ppc64 ~sparc x86"
IUSE=""
RDEPEND="!app-editors/ersatz-emacs"
S="${WORKDIR}/easyedit-${PV}"
src_prepare() {
sed -i \
-e "s/\tcc /\t\\\\\$(CC) /" \
-e "/other_cflag/s/ *-s//" \
create.make
}
src_configure() {
emake localmake
}
src_compile() {
emake -f make.local CC="$(tc-getCC)"
}
src_install() {
dobin ee
doman ee.1
dodoc Changes README.ee ee.i18n.guide ee.msg
}
|