--- geresh-0.4.1.ebuild 2007-05-11 21:05:25.000000000 +0200 +++ geresh-0.6.3.ebuild 2008-05-11 22:15:28.000000000 +0200 @@ -1,34 +1,35 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-editors/geresh/geresh-0.4.1.ebuild,v 1.10 2007/05/11 19:03:12 dirtyepic Exp $ -inherit eutils +inherit libtool eutils autotools DESCRIPTION="A simple multi-lingual console text editor with bidi & utf support" HOMEPAGE="http://www.typo.co.il/~mooffie/geresh/" SRC_URI="http://www.typo.co.il/~mooffie/geresh/download/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~ppc x86" +KEYWORDS="~ppc ~x86" IUSE="spell" DEPEND="virtual/libiconv - dev-libs/fribidi - sys-libs/ncurses - spell? ( virtual/aspell-dict ) - " + dev-libs/fribidi + sys-libs/ncurses + spell? ( virtual/aspell-dict )" src_unpack() { unpack ${A} cd "${S}" - - # Bug #149758 - epatch "${FILESDIR}"/${P}-gcc4.patch - # GCC 4.3 header fix - epatch "${FILESDIR}"/${P}-gcc43.patch + epatch "${FILESDIR}"/${P}-gcc4.y.patch + epatch "${FILESDIR}"/${P}-as-needed.patch + eautoreconf } src_install() { - emake DESTDIR="${D}" install || die + emake DESTDIR="${D}" install || die "emake failed" + local DOC + for DOC in AUTHORS MANUAL.he NEWS README THANKS TODO; do + dodoc $DOC || die "${DOC} failed" + done }