summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2006-04-14 11:55:10 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-14 11:55:10 +0000
commitb1413b277ff1ec28bb24861971cca2fe04ac9a12 (patch)
tree9b2aa405686f359f83e4b2d021802df59b6816fb
parente5488fab2f9fa40106165088bf81c91d76854249 (diff)
aspell5-en_6.0-0.bb, aspell-lang.inc : Add English dictionary for aspell
everyone go ahead and copy/alter for languages you can read/test. I am unfortuneately unilingal
-rw-r--r--packages/aspell/aspell-lang.inc23
-rw-r--r--packages/aspell/aspell5-en_6.0-0.bb4
2 files changed, 27 insertions, 0 deletions
diff --git a/packages/aspell/aspell-lang.inc b/packages/aspell/aspell-lang.inc
new file mode 100644
index 0000000000..709183b428
--- /dev/null
+++ b/packages/aspell/aspell-lang.inc
@@ -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
index 0000000000..fb13e24bdf
--- /dev/null
+++ b/packages/aspell/aspell5-en_6.0-0.bb
@@ -0,0 +1,4 @@
+SRC_URI = "ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell5-en-${PV}.tar.bz2"
+
+include aspell-lang.inc
+