# Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger # /space/gentoo/cvsroot/gentoo-x86/app-text/aspell/aspell-0.33.ebuild,v 1.2 2001/05/28 14:32:32 achim Exp #Remove leading zero from version MYPV=${PV#0} MYP=${PN}-${MYPV} S=${WORKDIR}/${MYP} DESCRIPTION="A spell checker replacement for ispell" SRC_URI="http://prdownloads.sourceforge.net/${PN}/${MYP}.tar.gz http://prdownloads.sourceforge.net/${PN}/${PN}-.33-fix2.diff" HOMEPAGE="http://aspell.sourceforge.net" DEPEND=">=app-text/pspell-0.12.2-r1 >=sys-libs/ncurses-5.2" src_unpack() { cd ${WORKDIR} unpack ${MYP}.tar.gz #Apply fix2 patch cd ${S} patch -p0 < ${DISTDIR}/${PN}-.33-fix2.diff } src_compile() { ./configure \ --prefix=/usr \ --sysconfdir=/etc/aspell \ --host=${CHOST} \ --enable-doc-dir=/usr/share/doc/${PF} \ || die "./configure failed" emake || die "Parallel Make Failed" } src_install () { make DESTDIR=${D} install || die "Installation Failed" dodoc README* TODO cd ${D}/usr/share/doc/${PF} mv man-html html mv man-text txt prepalldocs }