diff options
Diffstat (limited to 'src/aspell.mk')
-rw-r--r-- | src/aspell.mk | 26 |
1 files changed, 26 insertions, 0 deletions
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 |