Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2967 - emerge fails with ispell-es-1.7.ebuild
Summary: emerge fails with ispell-es-1.7.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Tod M. Neidt (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-23 13:54 UTC by Pau Oliva
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pau Oliva 2002-05-23 13:54:24 UTC
I've corrected the ebuild and added a few lines to make pspell recognise 
the spanish dictionary.

ispell-es-1.7.ebuild (corrected):
----8<--- cut here ------
MY_P="espa%7Enol-"${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="A Spanish dictionary for ispell"
SRC_URI="ftp://ftp.fi.upm.es/pub/unix/${MY_P}.tar.gz"
HOMEPAGE="http://www.datsi.fi.upm.es/~coes/"

DEPEND="app-text/ispell"

src_compile() {
    cd work/espa~nol-1.7/
    # It's important that we export the TMPDIR environment variable,
    # so we don't commit sandbox violations
    export TMPDIR=/tmp
    emake || die
    unset TMPDIR
}

src_install () {
    cd ../work/espa~nol-1.7
    insinto /usr/lib/ispell
    doins espa~nol.aff espa~nol.hash
    dodoc LEAME README
    # This is needed to use the spanish dictionary with pspell
    echo "/usr/lib/ispell/espa~nol.hash iso8859-1" > es-ispell.pwli
    insinto /usr/share/pspell
    doins es-ispell.pwli
}
----8<--- cut here ------
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-29 01:24:56 UTC
this is already in portage. the %7E did cause a problem recently, which has been
adjusted.