Add package aspell

This commit is contained in:
Pavel Vatagin 2015-07-28 23:55:17 +03:00
parent c3157a9757
commit e48895411c
4 changed files with 42 additions and 0 deletions

View File

@ -1044,6 +1044,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
<td class="package">armadillo</td>
<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>

11
src/aspell-1-fixes.patch Normal file
View File

@ -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>

26
src/aspell.mk Normal file
View File

@ -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

View File

@ -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",