summaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
authorFlammie Pirinen <flammie@gentoo.org>2010-08-08 22:27:04 +0000
committerFlammie Pirinen <flammie@gentoo.org>2010-08-08 22:27:04 +0000
commit3e234056bc342096e6bae7395a9bf2b8db2759bf (patch)
tree9b9856d29b43061d814292ae54b79f01e4007261 /trunk
parentFix svn adress and add new back ends use conditionally (diff)
downloadfinnish-3e234056bc342096e6bae7395a9bf2b8db2759bf.tar.gz
finnish-3e234056bc342096e6bae7395a9bf2b8db2759bf.tar.bz2
finnish-3e234056bc342096e6bae7395a9bf2b8db2759bf.zip
Add mozvoikko package
svn path=/; revision=66
Diffstat (limited to 'trunk')
-rw-r--r--trunk/www-plugins/mozvoikko/ChangeLog9
-rw-r--r--trunk/www-plugins/mozvoikko/Manifest4
-rw-r--r--trunk/www-plugins/mozvoikko/metadata.xml16
-rw-r--r--trunk/www-plugins/mozvoikko/mozvoikko-1.0.1.ebuild43
4 files changed, 72 insertions, 0 deletions
diff --git a/trunk/www-plugins/mozvoikko/ChangeLog b/trunk/www-plugins/mozvoikko/ChangeLog
new file mode 100644
index 0000000..253e904
--- /dev/null
+++ b/trunk/www-plugins/mozvoikko/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for www-plugins/mozvoikko
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*mozvoikko-1.0.1 (08 Aug 2010)
+
+ 08 Aug 2010; <flammie@gentoo.org> +mozvoikko-1.0.1.ebuild, +metadata.xml:
+ Initial import of mozvoikko
+
diff --git a/trunk/www-plugins/mozvoikko/Manifest b/trunk/www-plugins/mozvoikko/Manifest
new file mode 100644
index 0000000..92600df
--- /dev/null
+++ b/trunk/www-plugins/mozvoikko/Manifest
@@ -0,0 +1,4 @@
+DIST mozvoikko-1.0.1.tar.gz 28136 RMD160 e5dd979a5887d6ca995e6224da62136f56e6b338 SHA1 03e140053eb21cd68d0833003b27927ccdb61326 SHA256 06334e780d14f6152a7e580ee5335034d7f1f74abacc08b5a5c7a51f5ffdec41
+EBUILD mozvoikko-1.0.1.ebuild 1012 RMD160 15e00478d936a03ad859bc94cab161cf7da199ce SHA1 a1ea9929c889db7bfea98aa577ad839e405196c3 SHA256 b16d2201ee5cce5b0b81014869dec15185a35dfa12a8741802c4732f1e2695dd
+MISC ChangeLog 261 RMD160 2dbceac695774e3d60ed21bfc0ca83d845247ab0 SHA1 c8d2765205b0e800465fa1acb5ae05ef13242d17 SHA256 ab43bb009e91a948f85e621396338aa2d58a7bc8b8202c9e2358c584d89bed0a
+MISC metadata.xml 513 RMD160 0859b8170910d9356515c8bd99de493854b70fb2 SHA1 b3b8294ba9a0d19251619db6a39f783a25170ed7 SHA256 05e941d7e02dfffdc94a0b8afc9d96fe1a7d57c2727a378e9833340b0496d47f
diff --git a/trunk/www-plugins/mozvoikko/metadata.xml b/trunk/www-plugins/mozvoikko/metadata.xml
new file mode 100644
index 0000000..77dcb34
--- /dev/null
+++ b/trunk/www-plugins/mozvoikko/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!--
+$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
+-->
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>flammie@gentoo.org</email>
+</maintainer>
+<longdescription>
+ Mozvoikkko is xulrunner extension for voikko spell checker. It allows
+ use of voikko in stead of native spell checkers in xulrunner end
+ applications.
+</longdescription>
+</pkgmetadata>
diff --git a/trunk/www-plugins/mozvoikko/mozvoikko-1.0.1.ebuild b/trunk/www-plugins/mozvoikko/mozvoikko-1.0.1.ebuild
new file mode 100644
index 0000000..c476d49
--- /dev/null
+++ b/trunk/www-plugins/mozvoikko/mozvoikko-1.0.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+MY_P=${P/_rc/rc}
+
+DESCRIPTION="Mozilla plugin for voikko spellchecker"
+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="app-text/voikko
+ net-libs/xulrunner"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P/rc?/}"
+
+src_prepare() {
+ sed -i -e 's/-Werror//' -e 's/libxul-unstable/libxul/' \
+ Makefile* src/Makefile*
+}
+
+src_compile() {
+ # only xulrunner build is supported for distributions
+ emake -f Makefile.xulrunner\
+ XULRUNNER_SDK=/usr/include/xulrunner-$(best_version \
+ net-libs/xulrunner)/ || die "emake failed"
+}
+
+
+src_install() {
+ emake -f Makefile.xulrunner\
+ DESTDIR="${D}/usr/lib/mozilla-firefox/extensions/" \
+ install-unpacked || die "install failed"
+ dodoc README README.xulrunner ChangeLog || die "docs missing"
+}