summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/app-text/voikko/voikko-3.0.ebuild')
-rw-r--r--trunk/app-text/voikko/voikko-3.0.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/trunk/app-text/voikko/voikko-3.0.ebuild b/trunk/app-text/voikko/voikko-3.0.ebuild
new file mode 100644
index 0000000..f0c78c7
--- /dev/null
+++ b/trunk/app-text/voikko/voikko-3.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+MY_P=lib${P/_rc/rc}
+
+DESCRIPTION="Free Finnish spellchecking and hyphenation library"
+HOMEPAGE="http://voikko.sf.net"
+#SRC_URI="http://www.puimula.org/htp/testing/${MY_P}.tar.gz"
+SRC_URI="mirror://sourceforge/voikko/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="sci-misc/malaga
+ >=sci-misc/suomi-malaga-1.4
+ virtual/libiconv"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P/rc?/}"
+
+src_compile() {
+ econf CXXFLAGS=-Wno-error || die "econf failed"
+ emake || die "emake failed"
+}
+
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc README || die "docs missing"
+}