A="tmispell-0.1.2.tar.gz" S=${WORKDIR}/${P} DESCRIPTION="Tmispell acts as a glue between soikko and ispell." SRC_URI="http://www.hut.fi/~ptvirtan/programs/${A}" HOMEPAGE="http://www.hut.fi/~ptvirtan/programs/tmispell.html" SLOT="0" LICENSE="GPL" KEYWORDS="x86" DEPEND="app-text/ispell" RDEPEND="" src_unpack() { einfo "This program requires soikko" einfo "Please install it by hand" einfo "http://www.hut.fi/~pry/soikko/" einfo "" einfo "If you know how to make an ebuild for soikko please do it" unpack ${A} cd ${S} econf } src_compile() { make || die } src_install () { insinto /etc doins ${S}/tmispell.conf.example make DESTDIR=${D} install || die } pkg_postinst () { einfo "To make programs use Tmispell instead of Ispell, first move aside" einfo "the original Ispell executable, and then create a link from" einfo "tmispell to "ispell". For example:" einfo "mv /usr/bin/ispell /usr/bin/ispell.real" einfo "ln -s /usr/bin/tmispell /usr/bin/ispell" einfo "" einfo "Example configuration file can be found from /etc/tmispell.conf.example" einfo "Configure it to suit your needs and rename it to /etc/tmispell.conf" einfo "" einfo "Normally libsoikko.so can be found in /opt/openoffice/program/libsoikko.so" einfo "Normally soikko-sp.fi_FI.dic can be found in /opt/openoffice/share/dict/soikko-sp.fi_FI.dic" }