From e48895411ccbe0cce45ef7f648cd6b30210d659d Mon Sep 17 00:00:00 2001 From: Pavel Vatagin Date: Tue, 28 Jul 2015 23:55:17 +0300 Subject: Add package aspell --- index.html | 4 ++++ src/aspell-1-fixes.patch | 11 +++++++++++ src/aspell.mk | 26 ++++++++++++++++++++++++++ versions.json | 1 + 4 files changed, 42 insertions(+) create mode 100644 src/aspell-1-fixes.patch create mode 100644 src/aspell.mk 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) Armadillo C++ linear algebra library + aspell + Aspell + + assimp Assimp Open Asset Import Library 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 + # define ACCESS _access + # include 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", -- cgit v0.12