summaryrefslogtreecommitdiffstats
path: root/src/picomodel.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/picomodel.mk')
-rw-r--r--src/picomodel.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/picomodel.mk b/src/picomodel.mk
index f4deef7..9e7220b 100644
--- a/src/picomodel.mk
+++ b/src/picomodel.mk
@@ -10,11 +10,7 @@ $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://github.com/ufoai/$(PKG)/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
-define $(PKG)_UPDATE
- $(WGET) -q -O- 'https://github.com/ufoai/picomodel/commits/master' | \
- $(SED) -n 's#.*<span class="sha">\([^<]\{7\}\)[^<]\{3\}<.*#\1#p' | \
- head -1
-endef
+$(PKG)_UPDATE = $(call MXE_GET_GITHUB_SHA, ufoai/picomodel, master)
define $(PKG)_BUILD
cd '$(1)' && ./autogen.sh && ./configure \