aspell5-en_6.0-0.bb, aspell-lang.inc : Add English dictionary for aspell
authorGraeme Gregory <dp@xora.org.uk>
Fri, 14 Apr 2006 11:55:10 +0000 (11:55 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 14 Apr 2006 11:55:10 +0000 (11:55 +0000)
everyone go ahead and copy/alter for languages you can read/test. I am
unfortuneately unilingal

packages/aspell/aspell-lang.inc [new file with mode: 0644]
packages/aspell/aspell5-en_6.0-0.bb [new file with mode: 0644]

diff --git a/packages/aspell/aspell-lang.inc b/packages/aspell/aspell-lang.inc
new file mode 100644 (file)
index 0000000..709183b
--- /dev/null
@@ -0,0 +1,23 @@
+FILES_${PN} = "/usr/lib/aspell/* /usr/share/aspell/*"
+
+DEPENDS = "aspell-native"
+
+do_configure() {
+       cd ${S}
+       export dictdir=/usr/lib/aspell/
+       export datadir=/usr/share/aspell/
+       DESTDIR=${D} ./configure
+}
+
+do_compile() {
+        export dictdir=/usr/lib/aspell/
+       export datadir=/usr/share/aspell/
+       dictdir=/usr/lib/aspell oe_runmake
+}
+
+do_install() {
+        export dictdir=/usr/lib/aspell/
+        export datadir=/usr/share/aspell/
+       oe_runmake install
+}
+
diff --git a/packages/aspell/aspell5-en_6.0-0.bb b/packages/aspell/aspell5-en_6.0-0.bb
new file mode 100644 (file)
index 0000000..fb13e24
--- /dev/null
@@ -0,0 +1,4 @@
+SRC_URI = "ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell5-en-${PV}.tar.bz2"
+
+include aspell-lang.inc
+