There are at least three different places where hunspell recipe is found [1-3]. 
Let's
move it to a more common place to avoid further redundancy.

Native extension is required for libreoffice-native in meta-office [4].

[1] 
https://github.com/openwebos/meta-webos/blob/master/recipes-upstreamable/hunspell/hunspell_1.3.2.bb
[2] 
https://github.com/webOS-ports/meta-webos-ports/blob/master/meta-luneos/recipes-upstreamable/hunspell/hunspell_1.3.2.bb
[3] 
https://github.com/schnitzeltony/meta-office/blob/master/recipes-support/hunspell/hunspell_1.3.3.bb
[4] https://github.com/schnitzeltony/meta-office

Signed-off-by: Andreas Müller <[email protected]>
---
 meta-oe/recipes-support/hunspell/hunspell_1.3.3.bb | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-oe/recipes-support/hunspell/hunspell_1.3.3.bb

diff --git a/meta-oe/recipes-support/hunspell/hunspell_1.3.3.bb 
b/meta-oe/recipes-support/hunspell/hunspell_1.3.3.bb
new file mode 100644
index 0000000..9e6f774
--- /dev/null
+++ b/meta-oe/recipes-support/hunspell/hunspell_1.3.3.bb
@@ -0,0 +1,18 @@
+SUMMARY = "A spell checker and morphological analyzer library"
+HOMEPAGE = "http://hunspell.sourceforge.net/";
+LICENSE = "LGPLv2.1 | GPLv2 | MPLv1.1"
+LIC_FILES_CHKSUM = " \
+    file://COPYING;md5=ed3a37b3ba6d6be3e08ab45987cf1b88 \
+    file://COPYING.LGPL;md5=d8045f3b8f929c1cb29a1e3fd737b499 \
+    file://COPYING.MPL;md5=bfe1f75d606912a4111c90743d6c7325 \
+"
+
+SRC_URI = 
"${SOURCEFORGE_MIRROR}/project/${BPN}/Hunspell/${PV}/${BPN}-${PV}.tar.gz"
+SRC_URI[md5sum] = "4967da60b23413604c9e563beacc63b4"
+SRC_URI[sha256sum] = 
"a7b2c0de0e2ce17426821dc1ac8eb115029959b3ada9d80a81739fa19373246c"
+
+inherit autotools pkgconfig gettext
+
+RDEPENDS_${PN} = "perl"
+
+BBCLASSEXTEND = "native"
-- 
2.5.0

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to