summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.html4
-rw-r--r--src/aspell-1-fixes.patch11
-rw-r--r--src/aspell.mk26
-rw-r--r--versions.json1
4 files changed, 42 insertions, 0 deletions
diff --git a/index.html b/index.html
index 0964802..8ea2693 100644
--- a/index.html
+++ b/index.html
@@ -1045,6 +1045,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
<td class="website"><a href="http://arma.sourceforge.net/">Armadillo C++ linear algebra library</a></td>
</tr>
<tr>
+ <td class="package">aspell</td>
+ <td class="website"><a href="http://aspell.net/"></a>Aspell</td>
+ </tr>
+ <tr>
<td class="package">assimp</td>
<td class="website"><a href="http://assimp.sourceforge.net/">Assimp Open Asset Import Library</a></td>
</tr>
diff --git a/src/aspell-1-fixes.patch b/src/aspell-1-fixes.patch
new file mode 100644
index 0000000..d889428
--- /dev/null
+++ b/src/aspell-1-fixes.patch
@@ -0,0 +1,11 @@
+diff -Naur aspell-0.60.6.1.orig/common/file_util.cpp aspell-0.60.6.1/common/file_util.cpp
+--- aspell-0.60.6.1.orig/common/file_util.cpp 2011-07-03 01:09:08.000000000 +0400
++++ aspell-0.60.6.1/common/file_util.cpp 2015-07-28 18:01:01.435865252 +0300
+@@ -26,6 +26,7 @@
+
+ #ifdef WIN32
+
++#include "asc_ctype.hpp"
+ # include <io.h>
+ # define ACCESS _access
+ # include <windows.h>
diff --git a/src/aspell.mk b/src/aspell.mk
new file mode 100644
index 0000000..ac03a55
--- /dev/null
+++ b/src/aspell.mk
@@ -0,0 +1,26 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG := aspell
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 0.60.6.1
+$(PKG)_CHECKSUM := ff1190db8de279f950c242c6f4c5d5cdc2cbdc49
+$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
+$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
+$(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc
+
+define $(PKG)_UPDATE
+ $(WGET) -q -O- 'http://ftp.gnu.org/gnu/aspell/' | \
+ $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
+ head -1
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && ./configure \
+ --host='$(TARGET)' \
+ --prefix='$(PREFIX)/$(TARGET)' \
+ --enable-win32-relocatable \
+ --disable-nls
+ $(MAKE) -C '$(1)' -j '$(JOBS)' install
+endef
diff --git a/versions.json b/versions.json
index 9312e8f..d7f1150 100644
--- a/versions.json
+++ b/versions.json
@@ -5,6 +5,7 @@
"apr": "1.5.2",
"apr-util": "1.5.4",
"armadillo": "4.550.1",
+ "aspell": "0.60.6.1",
"assimp": "3.1.1",
"atk": "2.14.0",
"atkmm": "2.22.7",