Port hunspell.mk to $(PKG)_GH_CONF functionality

This commit is contained in:
Stefan Löffler 2017-05-01 12:06:29 +02:00 committed by Boris Nagaev
parent c2742a8777
commit e4bc67dd79
1 changed files with 1 additions and 9 deletions

View File

@ -6,17 +6,9 @@ $(PKG)_DESCR := Hunspell
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.6.1
$(PKG)_CHECKSUM := 30f593733c50b794016bb03d31fd2a2071e4610c6fa4708e33edad2335102c49
$(PKG)_SUBDIR := hunspell-$($(PKG)_VERSION)
$(PKG)_FILE := hunspell-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://github.com/hunspell/hunspell/archive/v$($(PKG)_VERSION).tar.gz
$(PKG)_GH_CONF := hunspell/hunspell, v
$(PKG)_DEPS := gcc gettext libiconv pthreads readline
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://github.com/hunspell/hunspell/releases' | \
$(SED) -n 's,.*/archive/v\([0-9][^>]*\)\.tar.*,\1,p' | \
head -1
endef
define $(PKG)_BUILD
# Note: the configure file doesn't pick up pdcurses, so "ui" is disabled
cd '$(1)' && autoreconf -vfi && ./configure \