Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user-hu
Navigation:
Lists: gentoo-user-hu: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user-hu@g.o
From: Zrubecz Laszlo <mail@...>
Subject: Re: hunspell-1.0_rc1.ebuild
Date: Sun, 29 Aug 2004 03:09:16 +0200
2004-08-29, v keltezéssel 02:58-kor Zrubecz Laszlo ezt írta:
> Csatolva a frissített ebuild, igaz kissé lemaradva az eredeti
> megjelenéstől...
> 

Késő van már, no... :)


-- 
Zrubi.
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Hunspell is an interactive hungarian spell checker"
HOMEPAGE="http://magyarispell.sourceforge.net/"
SRC_URI="http://magyarispell.sourceforge.net/hunspell-1.0-RC1.tar.gz"
LICENSE="LGPL-2.1"

SLOT="0"

KEYWORDS="x86"

IUSE=""

DEPEND="virtual/glibc
	sys-libs/readline
	sys-libs/ncurses
	sys-devel/gettext"

S="${WORKDIR}/hunspell-1.0-RC1"

src_compile() {
	sed -i -e "s:lcurses:lncurses:" Makefile
	emake || die "emake failed"
}

src_install() {
	
	dobin hunspell
	dobin hunp
		
	dosym /usr/bin/hunspell /usr/bin/hunstem
	
	dodir /usr/share/myspell
	insinto /usr/share/myspell
	doins hu_HU.aff
	doins hu_HU.dic
	
	dosym /usr/share/myspell/hu_HU.aff /usr/share/myspell/magyar.aff
	dosym /usr/share/myspell/hu_HU.dic /usr/share/myspell/magyar.dic
	dosym /usr/share/myspell/hu_HU.aff /usr/share/myspell/hungarian.aff
	dosym /usr/share/myspell/hu_HU.dic /usr/share/myspell/hungarian.dic
	dosym /usr/share/myspell/hu_HU.aff /usr/share/myspell/default.aff
	dosym /usr/share/myspell/hu_HU.dic /usr/share/myspell/default.dic

	doman man/hunspell.1
	doman man/hunspell.4
	doman man/hunp.1
	
	insinto /usr/share/locale/hu/LC_MESSAGES
	doins hunspell.mo
	
	dodoc ChangeLog OLVASS.EL README*
}

pkg_postinst() {
	einfo "Renaming /usr/bin/ispell to /usr/bin/ispell.orig"
	mv /usr/bin/ispell /usr/bin/ispell.orig	
	einfo "Making /usr/bin/ispell symlink to /usr/bin/hunspell"
	ln -s /usr/bin/hunspell /usr/bin/ispell
}

pkg_postrm() {
	einfo "Removing /usr/bin/ispell symlink"
	rm /usr/bin/ispell
	einfo "Restoring /usr/bin/ispell.orig to /usr/bin/ispell"
	mv /usr/bin/ispell.orig /usr/bin/ispell
}


--
gentoo-user-hu@g.o mailing list
Replies:
Re: hunspell-1.0_rc1.ebuild
-- E-mber
References:
hunspell-1.0_rc1.ebuild
-- Zrubecz Laszlo
Navigation:
Lists: gentoo-user-hu: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
hunspell-1.0_rc1.ebuild
Next by thread:
Re: hunspell-1.0_rc1.ebuild
Previous by date:
hunspell-1.0_rc1.ebuild
Next by date:
Re: hunspell-1.0_rc1.ebuild


Updated Jun 17, 2009

Summary: Archive of the gentoo-user-hu mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.