package check: use pkg name instead of $(PKG) variable in update section

This commit is contained in:
Tony Theodore 2014-01-14 14:52:28 +11:00
parent 1089f40d5f
commit 25a6762e46
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_V
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://sourceforge.net/projects/$(PKG)/files/$(PKG)/' | \
$(WGET) -q -O- 'http://sourceforge.net/projects/check/files/check/' | \
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
head -1
endef