summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-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
+