summaryrefslogtreecommitdiff
blob: c552e03813ed2e60cf3a471ee034b2e7e9754eff (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
# Copyright 1999-2006 Gentoo Foundation and Matthew Kennedy <mkennedy@gentoo.org>
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/lush/lush-1.1.ebuild,v 1.3 2006/06/20 16:16:10 mkennedy Exp $

inherit eutils

DESCRIPTION="Lush is the Lisp User Shell"
HOMEPAGE="http://lush.sourceforge.net/"
SRC_URI="mirror://sourceforge/lush/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE="X"

DEPEND="X? ( || ( ( x11-libs/libX11 x11-libs/libICE x11-libs/libSM ) virtual/x11 ) )"

src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/${PV}-gcc4.patch
}

src_compile() {
	econf `use_with X X` || die "./configure failed"
	emake -j1 || die
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc 0-CVS-INFO COPYING COPYRIGHT \
		README README.binutils README.cygwin README.mac
}