diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-08-02 02:41:37 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-08-02 02:41:37 (GMT) |
commit | 8b2e5e1bacf52d75c7083bb20034fd764eb4e539 (patch) | |
tree | ac988113a8b674a724a9ecfc570518a423f40e58 /src/plibc.mk | |
parent | 270f686e9302adde931726337c58b421840cebb0 (diff) | |
download | mxe-8b2e5e1bacf52d75c7083bb20034fd764eb4e539.zip mxe-8b2e5e1bacf52d75c7083bb20034fd764eb4e539.tar.gz mxe-8b2e5e1bacf52d75c7083bb20034fd764eb4e539.tar.bz2 |
Fix GitHub update routine
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/plibc.mk')
-rw-r--r-- | src/plibc.mk | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/plibc.mk b/src/plibc.mk index 23187f6..cb6316d 100644 --- a/src/plibc.mk +++ b/src/plibc.mk @@ -10,11 +10,7 @@ $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://github.com/mirror/plibc/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := gcc -define $(PKG)_UPDATE - $(WGET) -q -O- 'https://github.com/mirror/plibc/commits/master' | \ - $(SED) -n 's#.*<span class="sha">\([^<]\{7\}\)[^<]\{3\}<.*#\1#p' | \ - head -1 -endef +$(PKG)_UPDATE = $(call MXE_GET_GITHUB_SHA, mirror/plibc, master) define $(PKG)_BUILD cd '$(1)' && autoreconf -fi |