blob: 5cd999416cc29150c55182340bf4bea1a245137a (
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-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
inherit eutils multilib
DESCRIPTION="multiwindow mouse-based text editor for Unix and X Window System"
HOMEPAGE="http://xcoral.free.fr/"
SRC_URI="http://xcoral.free.fr/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
src_configure() {
econf --with-x || die
}
XCORAL_SHAREDIR=/usr/share/xcoral
src_compile() {
local makeopts="XCORALLIBDIR=\\\"${XCORAL_SHAREDIR}\\\""
pushd "${S}/Smac"
emake -j1 word.h y.tab.c || die
emake all ${makeopts} || die
popd
emake ${makeopts} || die
}
src_install() {
dobin xcoral
dodoc README
insinto ${XCORAL_SHAREDIR}
doins SmacLib/*
}
|