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