summaryrefslogtreecommitdiff
blob: 29f8e87f09eb094961ba1262a0f6bf02d9df2078 (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
41
42
43
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-text/ispell/ispell-3.1.20-r1.ebuild,v 1.6 2002/06/08 21:47:47 seemant Exp $

S=${WORKDIR}/${PN}-3.1
DESCRIPTION="Ispell is a fast screen-oriented spelling checker"
SRC_URI="ftp://ftp.cs.ucla.edu/pub/ispell-3.1/${P}.tar.gz"
HOMEPAGE="http://fmg-www.cs.ucla.edu/geoff/ispell.html"

DEPEND="virtual/glibc sys-devel/bison >=sys-libs/ncurses-5.2"
src_unpack() {

	unpack ${A}
	cd ${S}
	patch -p1 < ${FILESDIR}/${P}.diff

}

src_compile() {

	export PATH=$PATH:$PWD
	make -f Makefile.Linux compile || die

}

src_install () {

	dobin buildhash findaffix icombine ijoin ispell \
		munchlist sq tryaffix unsq

	doman *.[1-5]
	doinfo *.info

	insinto /usr/share/emacs/site-lisp
	doins ispell.el suse/*.el suse/emacs/*.el
	
	insinto /usr/lib/ispell
	doins languages/{american,british}/*.{hash,med}
	doins languages/english/english.aff

	dodoc Contributors README WISHES
}