summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordarealshinji <djcj@gmx.de>2016-01-23 11:40:46 (GMT)
committerTony Theodore <tonyt@logyst.com>2016-02-01 05:28:27 (GMT)
commit00d73f003c66b0d0b7846e7d4b68daa6b13997c9 (patch)
tree0b359692e1795355a120fe07d64d18334bf436ce
parent759a8c34bb30f81d6914d959b0c33388753e62d6 (diff)
downloadmxe-00d73f003c66b0d0b7846e7d4b68daa6b13997c9.zip
mxe-00d73f003c66b0d0b7846e7d4b68daa6b13997c9.tar.gz
mxe-00d73f003c66b0d0b7846e7d4b68daa6b13997c9.tar.bz2
liblsmash: add update rule
-rw-r--r--src/liblsmash.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/liblsmash.mk b/src/liblsmash.mk
index 3a25589..495077b 100644
--- a/src/liblsmash.mk
+++ b/src/liblsmash.mk
@@ -10,6 +10,13 @@ $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
$(PKG)_URL := https://github.com/l-smash/l-smash/archive/v$($(PKG)_VERSION).tar.gz
$(PKG)_DEPS := gcc
+define $(PKG)_UPDATE
+ $(call MXE_GET_GITHUB_TAGS, l-smash/l-smash, v)
+endef
+
+# L-SMASH uses a custom made configure script that doesn't recognize
+# the option --host and fails on unknown options.
+# Therefor $(MXE_CONFIGURE_OPTS) can't be used here.
define $(PKG)_BUILD
cd '$(1)' && ./configure \
--prefix='$(PREFIX)/$(TARGET)' \