summaryrefslogtreecommitdiff
path: root/recipes/aspell/aspell-lang.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/aspell/aspell-lang.inc')
-rw-r--r--recipes/aspell/aspell-lang.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/aspell/aspell-lang.inc b/recipes/aspell/aspell-lang.inc
new file mode 100644
index 0000000000..8c58136f0e
--- /dev/null
+++ b/recipes/aspell/aspell-lang.inc
@@ -0,0 +1,20 @@
+FILES_${PN} = "/usr/lib/aspell* /usr/share/aspell*"
+
+DEPENDS = "aspell-native"
+
+do_configure() {
+ cd ${S}
+ DESTDIR=${D} ./configure --vars ASPELL=${STAGING_BINDIR_NATIVE}/aspell
+}
+
+do_compile() {
+ sed -i -e "s|dictdir.*lib|dictdir = ${libdir}|" Makefile
+ sed -i -e "s|datadir.*lib|datadir = ${libdir}|" Makefile
+ oe_runmake
+}
+
+do_install() {
+ unset datadir
+ oe_runmake install
+}
+