summaryrefslogtreecommitdiff
blob: a490d77651b79949f62ebacc5874791b731d8432 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

inherit base toolchain-funcs

DESCRIPTION="Text editor with extensive Unicode and CJK support"
HOMEPAGE="http://mined.sourceforge.net/"
SRC_URI="http://towo.net/mined/download/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DOCS=( README CHANGES )

src_prepare() {
	default

	# Disable stripping and supply the correct compiler
	# we can't just pass CC as upstream uses it as a keyword-var
	sed -i -e '/strip/d' -e "s/\$(CC)/$(tc-getCC)/" src/mkinclud.mak || die
}

src_compile() {
	emake OPT="${CFLAGS}" || die
}