|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/hunspell-1.1.4.ebuild,v 1.6 2006/05/12 14:35:11 wolf31o2 Exp $ | # $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/hunspell-1.1.4.ebuild,v 1.6 2006/05/12 14:35:11 wolf31o2 Exp $ |
| |
inherit eutils multilib |
inherit eutils multilib autotools libtool |
| |
DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo." | DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo." |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" | SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
|
|
SLOT="0" | SLOT="0" |
LICENSE="MPL-1.1 GPL-2 LGPL-2.1" | LICENSE="MPL-1.1 GPL-2 LGPL-2.1" |
IUSE="ncurses readline" | IUSE="ncurses readline" |
KEYWORDS="~ppc ~sparc x86" |
KEYWORDS="~amd64 ~ppc ~sparc x86" |
| |
DEPEND="readline? ( sys-libs/readline ) | DEPEND="readline? ( sys-libs/readline ) |
ncurses? ( sys-libs/ncurses ) | ncurses? ( sys-libs/ncurses ) |
|
|
# and 'unmunch' which are too generic to be placed in | # and 'unmunch' which are too generic to be placed in |
# /usr/bin - this patch prefixes them with 'hunspell-'. | # /usr/bin - this patch prefixes them with 'hunspell-'. |
# It modifies a Makefile.am file, hence autoreconf. | # It modifies a Makefile.am file, hence autoreconf. |
epatch ${FILESDIR}/hunspell-1.1.3-renameexes.patch |
epatch "${FILESDIR}/${P}-libtool.patch" |
autoreconf |
epatch "${FILESDIR}/${P}-renameexes.patch" |
|
|
|
WANT_AUTOMAKE="1.9" eautoreconf |
|
elibtoolize |
} | } |
| |
src_compile() { | src_compile() { |
|
|
} | } |
| |
src_install() { | src_install() { |
emake DESTDIR=${D} install || die "emake install failed" |
make DESTDIR=${D} install || die "make install failed" |
dodoc AUTHORS ChangeLog NEWS README THANKS TODO | dodoc AUTHORS ChangeLog NEWS README THANKS TODO |
# hunspell is derived from myspell | # hunspell is derived from myspell |
dodoc AUTHORS.myspell README.myspell license.myspell | dodoc AUTHORS.myspell README.myspell license.myspell |